Skip to main content

ccoap CVE-2026-26457

| EUVDEUVD-2026-67098 HIGH
NULL Pointer Dereference (CWE-476)
2026-08-27 mitre GHSA-hpv9-cj7v-9vxp
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 crafted CoAP packet with zero-length option
  2. Delivery
    coap_dump_msg() iterates options
  3. Exploit
    NULL pointer dereference in zero-length value handling
  4. Execution
    Process crash
  5. Impact
    Denial of service

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

The CoAP service must be network-reachable by the attacker. The vulnerable code path is in coap_dump_msg(), so it must be invoked during message processing - if this function is gated behind a debug flag or verbose-logging mode, exploitation requires that mode to be active. No authentication is required per the CVSS PR:N vector. Exploitation is limited to availability impact only (crash/DoS); no code execution, credential theft, or data exfiltration is described. The library appears niche and IoT-focused, limiting the realistic population of exposed endpoints.

Impact

CVSS 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) characterizes this as a straightforward remote unauthenticated DoS with no complexity barrier. That vector is plausible if coap_dump_msg() is called in the normal message-handling path for all received packets; however, the function name implies a diagnostic or logging role - if it is only invoked in debug builds or verbose-logging modes, the realistic attack surface is narrower than the CVSS vector suggests. This distinction is not resolvable from the available data. EPSS 0.15% at the 5th percentile signals minimal observed exploitation activity, consistent with a niche library with limited production deployment. No CISA KEV listing and no POC availability further reduce urgency. Real priority is low-to-medium for most environments, reserved primarily for deployments that directly expose this library over CoAP to untrusted networks.

Exploit ScenarioDerived

An attacker with network access to a CoAP endpoint built on ccoap crafts a CoAP message containing one or more options with a length field set to zero. When the server receives and processes the packet, coap_dump_msg() dereferences a NULL or uninitialized pointer while iterating the zero-length option, crashing the process and causing a denial of service. No POC code is publicly available, but the attack is conceptually trivial given standard CoAP message construction.

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_dump_msg() function causes remote denial of service when processing CoAP messages that carry options with zero-length values. The flaw is pinned to commit 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5 of the ipflavors/ccoap library. An unauthenticated remote attacker reachable by the CoAP service can crash any process that links this library by sending a single crafted packet. No public exploit has been identified at time of analysis, and EPSS is 0.15% (5th percentile), reflecting low real-world exploitation activity.

RemediationAI

No vendor-released patch or fixed tagged version has been identified at time of analysis. Developers using this library should review and apply a NULL check for zero-length option data before dereferencing the pointer inside coap_dump_msg(), or disable invocation of that function in non-debug builds via a compile-time flag. As a network-level compensating control, restrict CoAP (UDP/5683 or DTLS/5684) access to trusted peers using firewall or ACL rules - this eliminates remote exploitation by untrusted senders at the cost of limiting interoperability with external CoAP clients. If the function is exclusively called in debug/verbose logging paths, disabling that logging mode at build time removes the vulnerable code path without service disruption.

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 (github.com/ipflavors/ccoap) is a C implementation of CoAP. The coap_dump_msg() function is responsible for logging or inspecting message contents, including iterating over CoAP options. CWE-476 (NULL Pointer Dereference) is triggered when an option carries a zero-length value and the function attempts to dereference a pointer that was not initialized or was set to NULL under that condition - for example, a data pointer referencing a zero-byte value field. The CPE string in the input (cpe:2.3:a:n/a:n/a) is a placeholder and does not reflect the actual product; the authoritative source is the GitHub repository ipflavors/ccoap at the identified commit.

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 auth required, zero-length option triggers crash; only availability impacted, no scope change.

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_dump_msg() function when processing COAP messages containing options with zero length.

Executive ViewAI

Why It Matters

The ccoap library is vulnerable to a remote denial-of-service attack via null pointer dereference when processing malformed CoAP messages. Any service or application linking this library can be remotely crashed by an unauthenticated attacker without credentials, creating availability risk for dependent systems and IoT deployments. Current exploitation risk is low (EPSS 0.2%), but the absence of a vendor patch means organizations relying on this library must implement interim controls or alternative solutions.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: (1) Network segmentation to restrict CoAP service access to trusted internal subnets only; (2) Disabling CoAP services where operationally non-critical; (3) Input validation at the application layer to reject malformed CoAP packets with zero-length options; (4) Connection rate limiting and monitoring for repeated CoAP connection spikes indicative of DoS attempts; (5) Application-level crash recovery and automatic restart mechanisms to minimize availability impact.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Rare
niche IoT CoAP C library with minimal GitHub presence
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