What’s Vulnerable › Vulnerabilities
CVE-2024-40493
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-10-22 · updated 2026-06-17
- Weakness: CWE-476
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`.
Affected products
References
- https://gist.github.com/dqp10515/fe80005e2fb58ed8ada178ac017e4ad4
- https://github.com/keith-cullen/FreeCoAP/issues/37
Get alerted when CVE-2024-40493 or the next vulnerability affects your stack