← Database

CVE-2024-40493

CRITICAL CVSS: 9.8 Published: 2024-10-22 Modified: 2026-06-17

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 Platforms

Keith-Cullen Freecoap

Weakness Type

CWE-476, CWE-476

References