Skip to main content

ccoap EUVDEUVD-2026-67099

| CVE-2026-26459 HIGH
Out-of-bounds Write (CWE-787)
2026-08-27 mitre GHSA-r5fc-723c-2fph
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed CoAP UDP endpoint
  2. Delivery
    Craft malformed CoAP message with oversized option length
  3. Exploit
    Transmit single UDP packet to target
  4. Execution
    Option parser reads past buffer boundary (CWE-787)
  5. Impact
    Segmentation 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable CoAP service, no authentication required, single malformed packet triggers crash; no confidentiality or integrity impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
Sep 01, 2026 - 19:22 NVD
7.5 (HIGH)
CVE Published
Aug 27, 2026 - 00:00 cve.org
HIGH 7.5
CVE Published
Aug 27, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Rare
obscure niche IoT CoAP C library, minimal known enterprise use
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy