CVE-2024-40493: Keith Cullen FreeCoAP · NULL Pointer Dereference
Source CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 55% 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:LExploitation evidence
Disclosed: evidence found.
CVE published 22 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
AI-suggested
Organizations should immediately audit their environments to identify any deployments of Keith Cullen FreeCoAP 1.0, especially in IoT and embedded systems. Until an official patch is released, network-level mitigations should be applied, such as filtering or blocking suspicious CoAP traffic from untrusted sources using firewalls or intrusion prevention systems. Implement strict network segmentation to isolate vulnerable devices and reduce exposure to external networks. Monitoring network traffic for anomalous CoAP packets that could trigger the vulnerability is recommended. Developers and integrators should consider upgrading to alternative CoAP implementations with active maintenance or applying custom patches to handle null pointer checks before memcpy operations. Additionally, applying runtime protections such as memory safety tools or sandboxing vulnerable components can reduce exploitation risk. Organizations should stay alert for vendor patches or updates and apply them promptly once available.
Description
Null Pointer Dereference in `coap_client_exchange_blockwise2` function in Keith Cullen FreeCoAP 1.0 allows remote attackers to cause a denial of service and potentially execute arbitrary code via a specially crafted CoAP packet that causes `coap_msg_get_payload(resp)` to return a null pointer, which is then dereferenced in a call to `memcpy`.