Skip to main content

ccoap CVE-2026-26453

| EUVDEUVD-2026-67096 HIGH
NULL Pointer Dereference (CWE-476)
2026-08-27 mitre GHSA-cmf6-2rf8-75m6
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Send malformed CoAP UDP packet
  2. Delivery
    Include URI_PATH option with NULL data pointer
  3. Exploit
    Server iterates options in coap_server_handle_session()
  4. Execution
    strncmp() dereferences NULL pointer
  5. Impact
    Segmentation 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.

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

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

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

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

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 server requires no auth or interaction; crash-only impact means C:N/I:N/A:H with unchanged scope.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Rare
obscure open-source IoT CoAP library, minimal production footprint
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 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.

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