Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend malformed CoAP UDP packet
-
DeliveryInclude URI_PATH option with NULL data pointer
-
ExploitServer iterates options in coap_server_handle_session()
-
Executionstrncmp() dereferences NULL pointer
-
ImpactSegmentation fault crashes server process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - unauthenticated remote exploitation against any ccoap server instance (at commit 77f55c4b) accessible over UDP on its CoAP listening port. The attacker must be able to send a UDP packet to the server's CoAP port (default 5683). The limiting factor is access: if the CoAP port is firewalled to trusted networks only, the attack surface is reduced to those networks. The vulnerability is independent of server configuration - it triggers on receipt of any CoAP message containing a URI_PATH option with a NULL data pointer, regardless of how the server is configured. |
| Impact | The CVSS 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately captures the risk envelope: any network-reachable ccoap server can be crashed with a single malformed CoAP packet requiring no authentication and minimal effort. However, real-world risk is substantially bounded by prevalence - ccoap is an obscure IoT library with minimal production deployment footprint. EPSS at 0.15% (5th percentile) corroborates that exploitation is not observed in the wild. No KEV listing and no confirmed public POC further limit urgency. The impact is purely availability (process crash, likely restartable); there is no confidentiality or integrity component. For organizations actually running ccoap in exposed deployments, this is a genuine patch-or-isolate priority due to the trivial exploit path. For everyone else, the footprint is the limiting factor. |
| Exploit ScenarioDerived | An attacker sends a single UDP CoAP packet to the target server's listening port (default 5683) with a URI_PATH option crafted to carry a NULL data pointer. When coap_server_handle_session() iterates over options and calls strncmp() on the NULL pointer, the process receives SIGSEGV and terminates. No authentication, prior session state, or multi-step interaction is required; the attack is executable in one packet. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Null pointer dereference in ccoap's CoAP server (commit 77f55c4b) allows unauthenticated remote attackers to crash the server process by sending a crafted CoAP message. The vulnerability exists in coap_server_handle_session(), which calls strncmp() on a URI_PATH option's data pointer without first validating that the pointer is non-NULL, triggering a segmentation fault on receipt of a malformed packet. With CVSS A:H and no authentication required (PR:N/AC:L), this is a straightforward remote denial-of-service; no public exploit or KEV listing has been identified at time of analysis.
RemediationAI
No vendor-released patch or tagged fix version has been identified at time of analysis; the vulnerability report references the upstream repository at https://github.com/ipflavors/ccoap but no remediation commit or release is cited. The direct code fix is to add a NULL check on option_list[i].data before passing it to strncmp() in coap_server_handle_session(). As a compensating control, operators should place ccoap instances behind a network boundary that restricts CoAP (UDP/5683) access to trusted clients only, preventing unauthenticated remote actors from sending crafted packets. Additionally, running ccoap under a process supervisor (e.g., systemd with Restart=on-failure) limits availability impact to brief restart windows rather than persistent outage. Monitor the upstream repository at https://github.com/ipflavors/ccoap for a fix commit.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ccoap is a lightweight open-source CoAP (Constrained Application Protocol, RFC 7252) server implementation hosted at github.com/ipflavors/ccoap. CoAP is a UDP-based application protocol designed for constrained IoT devices. The affected code path processes incoming CoAP options: when iterating over URI_PATH options to match the string 'separate', the function passes option_list[i].data directly to strncmp() without a NULL guard. CWE-476 (NULL Pointer Dereference) is the root cause - the server trusts that option data pointers are always valid, but the CoAP parsing layer can yield NULL data pointers for malformed or intentionally crafted option fields. The CPE string in NVD uses 'n/a' placeholders; the correct product is ccoap by ipflavors, pinned to commit 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable CoAP server requires no auth or interaction; crash-only impact means C:N/I:N/A:H with unchanged scope.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
ccoap 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 contains a null pointer dereference vulnerability in the coap_server_handle_session() function when processing COAP messages containing URI_PATH options with NULL data pointers. When the server searches for a URI_PATH option matching the string "separate", it directly calls strncmp() on option_list[i].data without checking if the pointer is NULL. This causes a segmentation fault when the option's data field is NULL.
Executive ViewAI
ccoap CoAP server implementations are vulnerable to remote denial-of-service attacks from unauthenticated network sources, allowing attackers to crash the service by sending malformed protocol messages. Organizations operating IoT or embedded systems that depend on CoAP for device communication face operational disruption risk. With no vendor patch currently available, interim compensating controls are required to protect availability.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to CoAP services via firewall ACLs and network segmentation; implement rate-limiting and traffic inspection at network boundaries; deploy monitoring and automated restart services; maintain incident response procedures for rapid service recovery if exploitation occurs.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-67096
GHSA-cmf6-2rf8-75m6
NVD
CVE.org
EPSS
Exploit-DB