Skip to content

CVE-2026-34876 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 o...

HighCVSS 7.5 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Affected products

ProductAffected versionsFixed in
azure linux qemu(Azure Linux:3.0) All versions No fix listed
debian/mbedtls(Debian:12) All versions No fix listed
debian/mbedtls(Debian:12) = 2.28.3-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.4-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.5-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.6-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.7-1 No fix listed
debian/mbedtls(Debian:12) = 2.28.7-1.1 No fix listed
debian/mbedtls(Debian:12) = 2.28.7-1.1~exp1 No fix listed
debian/mbedtls(Debian:12) = 2.28.8-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.0-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.0-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.0-3 No fix listed
debian/mbedtls(Debian:12) = 3.6.2-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.2-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.2-3 No fix listed
debian/mbedtls(Debian:12) = 3.6.3-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.4-1 No fix listed
debian/mbedtls(Debian:12) = 3.6.4-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.5-0.1 No fix listed
debian/mbedtls(Debian:12) = 3.6.5-0.1~deb13u1 No fix listed
debian/mbedtls(Debian:12) = 3.6.6-0.1 No fix listed
debian/mbedtls(Debian:12) = 3.6.6-0.1~deb13u1 No fix listed
debian/mbedtls(Debian:12) = 3.6.7-2 No fix listed
debian/mbedtls(Debian:12) = 3.6.7-3 No fix listed
Show 14 more
ProductAffected versionsFixed in
debian/mbedtls(Debian:13) < 3.6.6-0.1~deb13u1 3.6.6-0.1~deb13u1
debian/mbedtls(Debian:13) = 3.6.4-2 No fix listed
debian/mbedtls(Debian:13) = 3.6.5-0.1 No fix listed
debian/mbedtls(Debian:13) = 3.6.5-0.1~deb13u1 No fix listed
debian/mbedtls(Debian:14) < 3.6.6-0.1 3.6.6-0.1
debian/mbedtls(Debian:14) = 3.6.4-2 No fix listed
debian/mbedtls(Debian:14) = 3.6.5-0.1 No fix listed
debian/mbedtls(Debian:14) = 3.6.5-0.1~deb13u1 No fix listed
debian/mbedtls(Debian:14) = 3.6.6-0.1~deb13u1 No fix listed
ubuntu/mbedtls(Ubuntu:22.04) All versions No fix listed
ubuntu/mbedtls(Ubuntu:24.04) All versions No fix listed
ubuntu/mbedtls(Ubuntu:26.04) All versions No fix listed
ubuntu/mbedtls(Ubuntu:26.10) All versions No fix listed
TrustedFirmware Mbed TLS >= 3.1.0, < 3.6.6 3.6.6

References