Skip to main content
VulnerabilityPublished

CVE-2025-65498: libcoap · NULL Pointer Dereference

Affects libcoapSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium.

Data as of 26 Oct 2026, 11:07 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubobgm/libcoappkg:github/obgm/libcoapOther threatsAffected
  • =4.3.5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Monitor official libcoap repositories and security advisories for patches addressing CVE-2025-65498 and apply updates promptly once available.
  2. Implement network-level filtering to restrict DTLS handshake attempts from untrusted or unknown sources, reducing exposure to crafted handshake messages.
  3. Employ intrusion detection/prevention systems (IDS/IPS) capable of detecting anomalous DTLS handshake patterns indicative of exploitation attempts.
  4. Where possible, isolate critical IoT devices using libcoap in segmented network zones with strict access controls to limit attack surface.
  5. Conduct thorough testing of libcoap-based applications to identify and handle NULL pointer returns gracefully, potentially contributing patches upstream.
  6. Maintain robust logging and monitoring of DTLS handshake failures to detect potential exploitation attempts early.
  7. Consider fallback or alternative communication protocols temporarily if patching is delayed and risk is high.
  8. Educate operational technology (OT) and IoT teams about this vulnerability to ensure rapid response and mitigation implementation.

Description

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

References

Community reviews

Loading reviews…