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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Se descubrió un problema en Mbed TLS 3.x anterior a 3.6.6. Una vulnerabilidad de lectura fuera de límites en mbedtls_ccm_finish() en biblioteca/ccm.c permite a los atacantes obtener datos de contexto CCM adyacentes mediante la invocación de la API CCM multiparte con un parámetro tag_len de tamaño excesivo. Esto es causado por la falta de validación del parámetro tag_len contra el tamaño del búfer de autenticación interno de 16 bytes. El problema afecta a la API CCM multiparte pública en Mbed TLS 3.x, donde mbedtls_ccm_finish() puede ser invocado directamente por las aplicaciones. En las versiones de Mbed TLS 4.x anteriores a la corrección, la misma falta de validación existe en la implementación interna; sin embargo, la función no está expuesta como parte de la API pública. La explotación requiere la invocación a nivel de aplicación de la API CCM multiparte.

05 Jun 2026, 19:38

Type Values Removed Values Added
CPE cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*
First Time Trustedfirmware
Trustedfirmware mbed Tls

07 Apr 2026, 12:14

Type Values Removed Values Added
CPE cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*
References () https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ccm-finish-boundary-check/ - () https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2026-03-ccm-finish-boundary-check/ - Vendor Advisory
References () https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/ - () https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/ - Vendor Advisory
First Time Arm
Arm mbed Tls

02 Apr 2026, 17:16

Type Values Removed Values Added
CWE CWE-125
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

02 Apr 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-02 16:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34876

Mitre link : CVE-2026-34876

CVE.ORG link : CVE-2026-34876


JSON object : View

Products Affected

trustedfirmware

  • mbed_tls
CWE
CWE-125

Out-of-bounds Read