CVE-2024-40493
CRITICALkeith-cullen FreeCoAP 1.0 - Null Pointer Dereference in coap_client_exchange_blockwise2
Title source: llmDescription
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`.
References (2)
Core 2
Core References
Third Party Advisory
https://gist.github.com/dqp10515/fe80005e2fb58ed8ada178ac017e4ad4
Exploit, Issue Tracking
https://github.com/keith-cullen/FreeCoAP/issues/37
Scores
CVSS v3
9.8
EPSS
0.0076
EPSS Percentile
50.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-476
Status
published
Products (1)
keith-cullen/freecoap
1.0
Published
Oct 22, 2024
Tracked Since
Feb 18, 2026