{"id":"DHI-5ctg-u7hl-xmsi-sog4","summary":"An issue was discovered in Mbed TLS 3.x before 3.6.6. An out-of-bounds read vulnerability in mbedtls_ccm_finish() in…","details":"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.","modified":"2026-11-16T02:34:16.236362Z","published":"2026-11-11T19:43:46Z","upstream":["CVE-2026-34876"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-5ctg-u7hl-xmsi-sog4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34876"},{"type":"ADVISORY","url":"https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/"},{"type":"ADVISORY","url":"https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ccm-finish-boundary-check/"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-34876"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-34876"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-34876"}],"affected":[{"package":{"name":"mbedtls","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/mbedtls"},"versions":["3.6.5-0.1~deb13u1+dhi0","3.6.5-0.1~deb13u1+dhi1","3.6.6-0.1~deb13u1+dhi0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-5ctg-u7hl-xmsi-sog4.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}