Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed ccoap endpoint
-
DeliverySend sustained high-volume CoAP requests
-
ExploitTime requests to overlap with session cleanup cycle
-
ExecutionRace condition dereferences freed session node
-
ImpactNull pointer crash terminates server process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: 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 network connectivity to the CoAP server on UDP port 5683 (or CoAPS TCP port 5684 if applicable). Based on the CVSS PR:N rating, no authentication is required. The race condition is triggered by concurrent request load causing temporal overlap between the dispatch and cleanup threads - attackers must sustain sufficient request volume to win the race. The server must be running the ccoap implementation at or before commit 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5. Limiting factors include: (1) the inherent timing dependency of race condition exploitation reduces reliability and repeatability; (2) ccoap has a niche deployment footprint, so exposure is limited to intentional adopters; (3) no weaponized exploit code has been confirmed at time of analysis. |
| Impact | CVSS 7.5 High with vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H describes a remotely exploitable, unauthenticated denial-of-service requiring no user interaction. However, several signals substantially reduce real-world priority: EPSS at 0.17% (7th percentile) is among the lowest exploitation likelihood tiers, no active exploitation appears in CISA KEV, and ccoap is an obscure open-source project with negligible enterprise deployment footprint. The AC:L rating warrants scrutiny - race conditions inherently depend on precise inter-thread timing, and reliable triggering is typically harder than low-complexity bugs, suggesting AC:H may more accurately reflect exploitation difficulty. A bug report exists on GitHub that provides technical detail, but no confirmed weaponized exploit code has been identified. Overall, practical risk is low for virtually all organizations; the primary concern would be any deployment directly exposing a ccoap-based IoT gateway to untrusted networks without network-layer access controls. |
| Exploit ScenarioDerived | A remote attacker floods the ccoap server with CoAP requests, increasing the probability that a request is dispatched at the exact moment the session cleanup thread is freeing a session node from the shared list. When the dispatch thread dereferences the now-null or freed pointer, the server process crashes. No confirmed POC code exists beyond the GitHub bug report, but the report contains sufficient technical specificity to guide exploit development by a motivated researcher. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 31, 2026
Null pointer dereference in ccoap (commit 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5) allows remote unauthenticated attackers to crash the CoAP server by submitting requests that trigger a race condition between the session dispatch and cleanup threads. The impact is confined to availability - the server process crashes, producing a denial-of-service condition with no confidentiality or integrity consequences. No active exploitation is confirmed (not in CISA KEV), and an EPSS score of 0.17% (7th percentile) places this in the lowest tier of current exploitation likelihood.
RemediationAI
No vendor-released patch has been identified at the time of analysis. Operators using ccoap should monitor the repository at https://github.com/ipflavors/ccoap for commits that introduce mutex synchronization around shared session list accesses; the bug report at https://github.com/songxpu/bug_report/blob/master/CoAP/ccoap/VULNERABILITY_REPORT5.md provides the technical context needed to verify whether a commit addresses the race condition. As an immediate compensating control, restrict network access to the CoAP server (UDP/5683, CoAPS over TCP/5684) to only trusted source IPs via firewall or ACL - this reduces the attack surface but does not eliminate the race condition if a trusted host is compromised. A stronger mitigation is to replace ccoap with an actively maintained CoAP implementation. For maintainers, the fix requires adding pthread_mutex_lock (or equivalent) around all reads and writes to the session list in both the dispatch thread and the cleanup thread, with careful attention to lock ordering to avoid deadlock.
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 an open-source CoAP (Constrained Application Protocol - RFC 7252) server implementation hosted at github.com/ipflavors/ccoap. CoAP is a lightweight messaging protocol designed for constrained IoT environments, typically running over UDP port 5683. The root cause is CWE-362 (Concurrent Execution Using Shared Resource with Improper Synchronization): the request dispatch thread and the session cleanup thread both access shared session list nodes without mutex locks or equivalent synchronization primitives. When the cleanup thread frees or nullifies a session node concurrently with the dispatch thread dereferencing it, the result is a null pointer dereference and process crash. The specific vulnerable revision is identified by commit hash 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5. CPE data is listed as n/a:n/a, indicating ccoap is not yet formally cataloged in the NVD CPE dictionary, which limits automated patch-management tooling coverage.
Know when N A gets its next vulnerability
- 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
Race condition exploitation requires precise inter-thread timing, warranting AC:H; no authentication is needed against the network-reachable CoAP service.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
A null pointer dereference vulnerability exists in the server-side session management logic of ccoap 77f55c4b466e99327c24ace8a2913d3ba7e2ccd5. The issue is caused by a race condition between the request dispatch thread and the session cleanup thread when accessing shared session list nodes without proper synchronization.
Executive ViewAI
ccoap CoAP servers can be remotely crashed by unauthenticated attackers, causing service outages without compromising data. Although current exploitation risk remains low (0.2% EPSS), any organization depending on ccoap for operational services should inventory vulnerable deployments and implement protective access controls. Delaying action increases outage risk as threat awareness matures.
Network access controls restricting CoAP traffic to authorized clients; rate limiting on incoming CoAP requests; automated service restart mechanisms to minimize outage duration; session timeout configuration to reduce race condition exposure; real-time monitoring for abnormal service crashes and potential exploitation attempts.
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
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-67097
GHSA-59pv-qgfv-jx2f
NVD
CVE.org
EPSS
Exploit-DB