Vulnerabilidades / CVE-2025-47917

crítica

CVE-2025-47917

Mbed TLS before 3.6.4 allows a use-after-free in certain situations of ...

Publicada Modificada CWE 416
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Julia. Más baja según Ubuntu (media).

Descripción

Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are developed in accordance with the documentation. The function mbedtls_x509_string_to_names() takes a head argument that is documented as an output argument. The documentation does not suggest that the function will free that pointer; however, the function does call mbedtls_asn1_free_named_data_list() on that argument, which performs a deep free(). As a result, application code that uses this function (relying only on documented behavior) is likely to still hold pointers to the memory blocks that were freed, resulting in a high risk of use-after-free or double-free. In particular, the two sample programs x509/cert_write and x509/cert_req are affected (use-after-free if the san string contains more than one DN).

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
julia::Julia Ecosystem Security AdvisoriesMbedTLS_jll2.28.1010+0
alpine 3.20mbedtls3.6.4-r0
alpine 3.21mbedtls3.6.4-r0
alpine 3.22mbedtls3.6.4-r0
alpine 3.23mbedtls3.6.4-r0
alpine 3.24mbedtls, mbedtls33.6.4-r0
alpine edgembedtls, mbedtls33.6.4-r0
debian 11mbedtls2.16.9-0.1+deb11u3
debian 12mbedtlssin corrección indicada
debian 13mbedtls3.6.4-1
debian 14mbedtls3.6.4-1
echombedtls3.6.4-1
Mostrar las 36 entradas de 27 fuentes
FuentePaqueteCorregido en
julia::Julia Ecosystem Security AdvisoriesMbedTLS_jll2.28.1010+0
alpine 3.20mbedtls3.6.4-r0
alpine 3.21mbedtls3.6.4-r0
alpine 3.22mbedtls3.6.4-r0
alpine 3.23mbedtls3.6.4-r0
alpine 3.24mbedtls3.6.4-r0
alpine 3.24mbedtls33.6.4-r0
alpine edgembedtls3.6.4-r0
alpine edgembedtls33.6.4-r0
debian 11mbedtls2.16.9-0.1+deb11u3
debian 12mbedtlssin corrección indicada
debian 13mbedtls3.6.4-1
debian 14mbedtls3.6.4-1
echombedtls3.6.4-1
rapidfort alpine 3.20mbedtls3.6.4-r0
rapidfort alpine 3.21mbedtls3.6.4-r0
rapidfort alpine 3.23mbedtls3.6.4-r0
rapidfort alpine 3.24mbedtls3.6.4-r0
rapidfort debian 12mbedtls0:3.6.4-1
rapidfort debian 12rf-mbedtls0:3.6.4-1
rapidfort debian 13mbedtls0:3.6.4-1
rapidfort debian 13rf-mbedtls0:3.6.4-1
rapidfort ubuntumbedtls0:2.28.8-10rfubu
rapidfort ubunturf-mbedtls0:2.28.8-10rfubu
rapidfort ubuntu 20.04mbedtls0:3.6.5-0.1
rapidfort ubuntu 20.04rf-mbedtls0:3.6.5-0.1
rapidfort ubuntu 22.04mbedtls0:3.6.5-0.1
rapidfort ubuntu 22.04rf-mbedtls0:3.6.5-0.1
rapidfort ubuntu 24.04mbedtls0:3.6.5-0.1
rapidfort ubuntu 24.04rf-mbedtls0:3.6.5-0.1
root.io debian 12mbedtls2.28.3-1.root.io.2, 2.28.3-1.root.io.3, 2.28.3-1.root.io.4, 2.28.3-1.root.io.5, 2.28.3-1.root.io.6, 2.28.3-1.root.io.7, 2.28.3-1.root.io.8, 2.28.3-1.root.io.9, 2.28.3-1.root.io.10, 2.28.3-1.root.io.11, 2.28.3-1.root.io.12, 2.28.3-1.root.io.13, 2.28.3-1.root.io.14, 2.28.3-1.root.io.15, 2.28.3-1.root.io.16
root.io debian 12rootio-mbedtls2.28.3-1.root.io.2, 2.28.3-1.root.io.3, 2.28.3-1.root.io.4, 2.28.3-1.root.io.5, 2.28.3-1.root.io.6, 2.28.3-1.root.io.7, 2.28.3-1.root.io.8, 2.28.3-1.root.io.9, 2.28.3-1.root.io.10, 2.28.3-1.root.io.11, 2.28.3-1.root.io.12, 2.28.3-1.root.io.13, 2.28.3-1.root.io.14, 2.28.3-1.root.io.15, 2.28.3-1.root.io.16
ubuntu 18.04-ESMmbedtls2.8.0-1ubuntu0.1~esm1
ubuntu 20.04-ESMmbedtls2.16.4-1ubuntu2+esm1
ubuntu 22.04mbedtlssin corrección indicada
ubuntu 24.04mbedtlssin corrección indicada

Referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.