Out-of-bounds Read
CVE-2026-34876
Summary
An issue was discovered in Mbed TLS versions from 3.1.0 prior to 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.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- HIGH
- NONE
CWE-125 - Out-of-Bounds Read
Out-of-bounds read is a vulnerability that allows access to memory beyond the authorized accessible location. Such a vulnerability compromises the confidentiality of the trusted environment in the application and enables an attacker to launch further attacks by leveraging the exposed information.
References
Advisory Timeline
- Published