Vulnérabilités / CVE-2025-47917

critique

CVE-2025-47917

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

Publiée Modifiée CWE 416
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, Julia. Plus basse selon Ubuntu (moyenne).

Description

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

Paquets affectés et versions corrigées

SourcePaquetCorrigé 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 12mbedtlspas de correctif indiqué
debian 13mbedtls3.6.4-1
debian 14mbedtls3.6.4-1
echombedtls3.6.4-1
Afficher les 36 entrées de 27 sources
SourcePaquetCorrigé 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 12mbedtlspas de correctif indiqué
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.04mbedtlspas de correctif indiqué
ubuntu 24.04mbedtlspas de correctif indiqué

Références

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.