Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed CoAP UDP endpoint
-
DeliveryCraft malformed CoAP message with oversized option length
-
ExploitTransmit single UDP packet to target
-
ExecutionOption parser reads past buffer boundary (CWE-787)
-
ImpactSegmentation fault crashes ccoap process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target host runs a CoAP service built with ccoap at or prior to commit 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5, with the CoAP UDP port reachable from the attacker's network position. No authentication is required - CVSS PR:N confirms unauthenticated access. No user interaction is needed. The condition limiting exploitation is narrow library adoption: only deployments using this specific C library are affected, and the library is not widely distributed in commercial products. Non-default CoAP security modes (DTLS, per RFC 7252 Section 9) would require the attacker to complete a handshake first, raising the bar to at least a network man-in-the-middle or credential-holding position, but default ccoap deployments without DTLS are fully exposed. |
| Impact | The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately reflects the network-reachable, zero-authentication, low-complexity nature of triggering a DoS. However, real-world risk is substantially tempered by prevalence: ccoap is a niche open-source IoT library with a very small known deployment footprint, making mass exploitation unlikely. EPSS at the 7th percentile (0.17%) corroborates low observed exploitation interest. No active exploitation (CISA KEV) and no publicly circulating exploit code are noted. The impact ceiling is a process crash (availability only); there is no confidentiality or integrity impact from this specific path. The primary risk is to embedded or IoT deployments that expose a CoAP endpoint directly to an untrusted network and use this specific library version - a narrow but non-zero population. Missing data: patch status is not confirmed; no vendor advisory or fixed version is referenced. |
| Exploit ScenarioDerived | An attacker on the network sends a single UDP packet to a CoAP endpoint running ccoap, crafting the CoAP option header to declare a length exceeding the remaining packet buffer. The option parsing logic reads beyond the buffer boundary, triggering an out-of-bounds write and immediate segmentation fault, crashing the CoAP service with no authentication or prior access required. No exploit code is publicly known at this time, but the trigger is mechanically simple - any CoAP fuzzing tool or hand-crafted packet generator can reproduce the crash. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 01, 2026
Denial-of-service via segmentation fault in ccoap's option parsing logic allows unauthenticated remote attackers to crash any service built on the library by sending a single malformed CoAP message. The vulnerability exists at commit 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 of the ipflavors/ccoap C library, where the option parser does not adequately validate that sufficient data is present before accessing option fields, triggering an out-of-bounds write (CWE-787). No public exploit code or CISA KEV listing is present, and EPSS probability is very low at 0.17%, though the trivial trigger condition - a single malformed UDP packet - makes opportunistic scanning straightforward against any exposed CoAP endpoint.
RemediationAI
No vendor-released patch identified at time of analysis. Upstream fix availability has not been confirmed from any referenced advisory or GitHub release tag. As a compensating control, operators should restrict CoAP UDP port access (default port 5683) to trusted networks or hosts using firewall rules, preventing unauthenticated external sources from reaching the CoAP endpoint - this eliminates the network attack vector entirely without requiring a code change. If ccoap is embedded in a larger service, consider replacing it with a more actively maintained CoAP library (e.g., libcoap or Californium) until a fix is published. Monitor https://github.com/ipflavors/ccoap for a patch commit addressing the option parsing bounds check.
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
CoAP (Constrained Application Protocol, RFC 7252) is a UDP-based messaging protocol designed for constrained IoT devices. ccoap is a C implementation of CoAP hosted at github.com/ipflavors/ccoap. CoAP messages carry options encoded as type-length-value (TLV) fields; the parser must verify the remaining buffer length before reading each option's value. At the identified commit, the option parsing logic performs an out-of-bounds write (CWE-787) when processing a message where the declared option length exceeds the remaining buffer, resulting in a segmentation fault and process termination. The CPE entry uses 'n/a' placeholders for both vendor and product; the actual identifiers are vendor 'ipflavors' and product 'ccoap', as confirmed by the GitHub reference.
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 service, no authentication required, single malformed packet triggers crash; no confidentiality or integrity impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
ccoap 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 contains a vulnerability in the option parsing logic that causes a segmentation fault when processing malformed COAP messages with insufficient option data.
Executive ViewAI
The ccoap C library, used in IoT and network services, contains a denial-of-service vulnerability allowing unauthenticated remote attackers to crash services with a single malformed message. No public exploit identified at time of analysis; however, the absence of a vendor patch means organizations using ccoap have no readily available remediation and face continued availability risks.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict CoAP endpoint access via network segmentation and firewall rules, implement packet filtering to reject malformed CoAP messages, monitor for anomalous UDP traffic, and maintain incident recovery capabilities for rapid service restoration.
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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
EUVD-2026-67099
GHSA-r5fc-723c-2fph
NVD
CVE.org
EPSS
Exploit-DB