CVE-2025-65495: libcoap · CVE-2025-65495 is a high-severity
Affects libcoapSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation 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 closely for patches or updates addressing CVE-2025-65495 and apply them promptly once available.
- Implement network-level filtering to detect and block malformed or suspicious TLS certificates that could exploit the vulnerability, using intrusion detection/prevention systems (IDS/IPS) with updated signatures.
- Employ strict certificate validation policies and consider additional certificate sanity checks before passing certificates to vulnerable libcoap components.
- Where feasible, isolate or segment IoT and constrained device networks to limit exposure to untrusted sources that might attempt exploitation.
- Conduct thorough inventory and risk assessments to identify all systems using libcoap 4.3.5 and evaluate their exposure.
- Develop and test incident response plans to quickly recover from potential denial of service incidents caused by this vulnerability.
- Consider temporary mitigations such as disabling TLS certificate verification in controlled environments if acceptable, until patches are available.
- Engage with vendors and device manufacturers to confirm their mitigation plans and timelines for addressing this vulnerability in embedded products.
Description
CVE-2025-65495 is a high-severity vulnerability in the OISM libcoap 4.3.5 library, caused by an integer signedness error in the tls_verify_call_back() function. This flaw allows remote attackers to trigger a denial of service by sending a specially crafted TLS certificate that causes the i2d_X509() function to return -1, which is then incorrectly used as a malloc() size parameter. Exploitation requires no authentication or user interaction and can be performed remotely over the network. The vulnerability impacts the availability of applications using the affected libcoap version, potentially causing crashes or service interruptions. No known exploits are currently reported in the wild, and no patches have been published yet. European organizations relying on libcoap 4.3.5 in IoT, constrained devices, or CoAP-based communication systems are at risk.