CVE-2024-40493
published medium CVSS 3.1 · 5.3freecoap vulnerability
Package status and fixes
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`.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| keithcullen | freecoap | 1.0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-476 CWE-476 NULL Pointer Dereference
References
2Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2d0b749378d7dbc31c3f6633e7e45e8dc6875ecd52376700581a8ee37e02bc86
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record