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 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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mbedtls | Fix pending | UBUNTU-CVE-2026-34876 | |
| Ubuntu 26.04 | mbedtls | Under investigation | UBUNTU-CVE-2026-34876 | |
| Ubuntu 25.10 | mbedtls | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-34876 | |
| Ubuntu 24.04 | mbedtls | Fix pending | UBUNTU-CVE-2026-34876 | |
| Ubuntu 22.04 | mbedtls | Fix pending | UBUNTU-CVE-2026-34876 | |
| Ubuntu 20.04 | mbedtls | Fix pending | UBUNTU-CVE-2026-34876 | |
| Ubuntu 18.04 | mbedtls | Fix pending | UBUNTU-CVE-2026-34876 | |
| Ubuntu 16.04 | mbedtls | Fix pending | UBUNTU-CVE-2026-34876 | |
| Debian 14 | mbedtls | Fixed | 3.6.6-0.1 | DEBIAN-CVE-2026-34876 |
| Debian 13 | mbedtls | Fixed | 3.6.6-0.1~deb13u1 | DEBIAN-CVE-2026-34876 |
| Debian 12 | mbedtls | Fix pending | DEBIAN-CVE-2026-34876 |
References
- https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ccm-finish-boundary-check/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.