CVE-2025-65498: libcoap · NULL Pointer Dereference
Affects libcoapSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium.
Data as of 26 Oct 2026, 11:07 UTC
- 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:LExploitation evidence
Disclosed: evidence found.
CVE published 24 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
GitHubobgm/libcoappkg:github/obgm/libcoapOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Monitor official libcoap repositories and security advisories for patches addressing CVE-2025-65498 and apply updates promptly once available.
- Implement network-level filtering to restrict DTLS handshake attempts from untrusted or unknown sources, reducing exposure to crafted handshake messages.
- Employ intrusion detection/prevention systems (IDS/IPS) capable of detecting anomalous DTLS handshake patterns indicative of exploitation attempts.
- Where possible, isolate critical IoT devices using libcoap in segmented network zones with strict access controls to limit attack surface.
- Conduct thorough testing of libcoap-based applications to identify and handle NULL pointer returns gracefully, potentially contributing patches upstream.
- Maintain robust logging and monitoring of DTLS handshake failures to detect potential exploitation attempts early.
- Consider fallback or alternative communication protocols temporarily if patching is delayed and risk is high.
- 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.