Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCall mbedtls_ccm_finish() with oversized tag_len parameter
-
ExploitBypass tag_len validation in CCM buffer
-
ExecutionRead adjacent CCM context data
-
ImpactLeak sensitive authentication information
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker can exploit Mbed TLS 3.x before 3.6.6 (and 4.x versions with unfixed code) when the multipart CCM API is used by the application. Attacker invokes mbedtls_ccm_finish() with oversized tag_len parameter exceeding 16 bytes to read adjacent CCM context data. |
| Impact | Without a published CVSS vector, risk assessment relies on structural analysis of the vulnerability type and exposure model. Out-of-bounds reads are generally lower-severity than out-of-bounds writes, but in cryptographic code they enable information disclosure of sensitive data (encryption keys, nonces, authentication tags). The attack requires an application to use the multipart CCM API and pass malformed input; applications using the single-shot API (mbedtls_ccm_encrypt_and_authenticate) are not affected. The lack of authentication requirement and low attack complexity (parameter injection) increases real-world risk for vulnerable applications, but the dependency on application-level misuse (passing invalid tag_len) narrows the impact surface. EPSS data is not provided. No confirmed active exploitation (KEV status) or public proof-of-concept has been reported, suggesting this is a defensive disclosure with limited weaponization risk at present. Mbed TLS users on 3.x should prioritize patching, but the actual risk depends on whether their applications invoke the multipart API with untrusted tag_len input. |
| Exploit ScenarioDerived | An application using Mbed TLS 3.x multipart CCM mode processes encrypted data from an untrusted network source. An attacker crafts a malformed packet that triggers application-level invocation of mbedtls_ccm_finish() with a tag_len parameter set to 32 or higher. The function reads 32 bytes from the 16-byte authentication buffer, leaking sensitive adjacent memory including the encryption key or nonce from the CCM context structure. No public proof-of-concept code is known at the time of this analysis. The attack requires no authentication and can be triggered with a single crafted input, but depends entirely on the application's use of the vulnerable API with attacker-controlled parameters. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 02, 2026
Out-of-bounds read in Mbed TLS 3.x before 3.6.6 allows attackers to leak adjacent CCM context data through the multipart CCM API by passing an oversized tag_len parameter to mbedtls_ccm_finish(), which lacks validation against the internal 16-byte authentication buffer. Mbed TLS 4.x contains the same vulnerability in internal code but does not expose the vulnerable function publicly; exploitation requires direct application-level invocation of the affected API. No public exploit code or active exploitation has been reported, but the attack requires no special privileges.
RemediationAI
Upgrade Mbed TLS 3.x to version 3.6.6 or later, which includes bounds validation for the tag_len parameter in mbedtls_ccm_finish(). For Mbed TLS 4.x users, apply the corresponding security patch as described in the vendor advisory. Applications should validate tag_len input before invoking mbedtls_ccm_finish() or switch to the single-shot API (mbedtls_ccm_encrypt_and_authenticate) if the multipart API is not required. Review application code that uses the multipart CCM API to ensure tag_len is never user-controlled or is restricted to valid values (1-16 bytes per CCM specification). Refer to the official Mbed TLS security advisory at https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ccm-finish-boundary-check/ for detailed patch release information.
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
The vulnerability exists in the Counter with CBC-MAC (CCM) authenticated encryption mode implementation within Mbed TLS, a widely-used cryptographic library. CCM is an AEAD cipher mode defined in RFC 3610, combining AES counter mode with CBC-MAC for authentication. The multipart CCM API allows applications to incrementally process data across multiple function calls; mbedtls_ccm_finish() finalizes the operation and computes the authentication tag. The root cause is insufficient bounds checking on the tag_len parameter, which controls how many bytes are written from a fixed 16-byte internal authentication buffer. When an application supplies a tag_len larger than 16, the read operation accesses memory beyond the buffer boundary, exposing adjacent CCM context data (encryption keys, nonces, or other sensitive state). This is a classic out-of-bounds read vulnerability (CWE category: buffer boundary violation). The issue is specific to Mbed TLS 3.x where the multipart API is public; in 4.x, the same code path exists internally but is not part of the public API surface, limiting attack surface.
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:H/I:N/A:N
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
An issue was discovered in Mbed TLS 3.x before 3.6.6. An out-of-bounds read vulnerability in mbedtls_ccm_finish() in library/ccm.c allows attackers to obtain adjacent CCM context data via invocation of the multipart CCM API with an oversized tag_len parameter. This is caused by missing validation of the tag_len parameter against the size of the internal 16-byte authentication buffer. The issue affects the public multipart CCM API in Mbed TLS 3.x, where mbedtls_ccm_finish() can be invoked directly by applications. In Mbed TLS 4.x versions prior to the fix, the same missing validation exists in the internal implementation; however, the function is not exposed as part of the public API. Exploitation requires application-level invocation of the multipart CCM API.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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
Same weakness CWE-125 – Out-of-bounds Read
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-18356
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB