CVE-2025-65498: Null Pointer Dereference

Published Nov 24, 2025
·
Updated

NULL pointer dereference in coapdtlsgeneratecookie() in src/coapopenssl.c in OISM libcoap 4.3.5 allows remote attackers to cause a denial of service via a crafted DTLS handshake that triggers SSLgetSSLCTX() to return NULL.

Affected Software

6 affected componentsFixes available
OISM libcoap
libcoap libcoap=4.3.5
debian/libcoap3*
debian/libcoap3<4.3.4-1.1+deb13u2
4.3.4-1.1+deb13u2
debian/libcoap3<4.3.5-2
4.3.5-2
debian/libcoap3<=4.3.1-1
4.3.4-1.1+deb13u34.3.5-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/libcoap3 to a version that resolves this vulnerability.

    Fixed in 4.3.4-1.1+deb13u2
  2. Upgrade

    Upgrade debian/libcoap3 to a version that resolves this vulnerability.

    Fixed in 4.3.5-2
  3. Upgrade

    Upgrade debian/libcoap3 to a version that resolves this vulnerability.

    Fixed in 4.3.4-1.1+deb13u3Fixed in 4.3.5-4

Event History

Nov 24, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-65498?

CVE-2025-65498 is classified as a denial of service vulnerability.

2

How do I fix CVE-2025-65498?

To fix CVE-2025-65498, upgrade to the latest version of OISM libcoap that includes patches for this vulnerability.

3

What causes the CVE-2025-65498 vulnerability?

CVE-2025-65498 is caused by a NULL pointer dereference in the coap_dtls_generate_cookie() function during a DTLS handshake.

4

Who is affected by CVE-2025-65498?

CVE-2025-65498 affects users of OISM libcoap version 4.3.5.

5

What impact does CVE-2025-65498 have on systems?

CVE-2025-65498 may allow remote attackers to crash applications using OISM libcoap by exploiting the vulnerability during DTLS handshakes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203