CVE-2024-40493

Published Oct 22, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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`.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Keith-cullen
Keith-cullen freecoap
CPEs cpe:2.3:a:keith-cullen:freecoap:1.0:*:*:*:*:*:*:*
Vendors & Products Keith-cullen
Keith-cullen freecoap
Type Values Removed Values Added
First Time appeared Keithcullen
Keithcullen freecoap
Weaknesses CWE-476
CPEs cpe:2.3:a:keithcullen:freecoap:1.0:*:*:*:*:*:*:*
Vendors & Products Keithcullen
Keithcullen freecoap
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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`.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 23, 2024, 3:50 PM
Reserved
Jul 5, 2024, 12:00 AM
Status
Analyzed
Published
Oct 22, 2024, 10:15 PM
Modified
Jun 17, 2026, 7:45 AM