CVE-2024-46304: libcoap · Classic Buffer Overflow
Affects libcoapSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% 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 9 Oct 2024
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
To mitigate CVE-2024-46304, organizations should first identify all systems and devices using libcoap versions 4.3.5-rc2 or earlier. Since no official patches are currently linked, users should monitor libcoap project repositories and vendor advisories for updates or security patches addressing this issue. In the interim, network-level mitigations can reduce exposure: restrict access to CoAP services using firewalls or network segmentation to limit exposure to untrusted networks. Implement rate limiting and anomaly detection on CoAP traffic to detect and block malformed or suspicious PUT block requests. For embedded devices, consider disabling or restricting block-wise transfer features if not required. Conduct thorough testing of firmware or software updates incorporating newer libcoap versions once available. Additionally, maintain comprehensive logging and monitoring of CoAP traffic to detect potential exploitation attempts early. Organizations should also evaluate fallback or redundancy mechanisms to maintain service continuity in case of DoS events. Finally, engage with device manufacturers and vendors to ensure timely updates and coordinated vulnerability response.
Description
A NULL pointer dereference in libcoap v4.3.5-rc2 and below allows a remote attacker to cause a denial of service via the coap_handle_request_put_block function in src/coap_block.c.