Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).

CVE-2025-47917Use After Free in Mbedtls

CWE-416Use After Free9 documents8 sources
Severity
9.8CRITICALNVD
CNA8.9
EPSS
4.4%
top 11.04%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Affected products
Timeline
PublishedJul 20
Latest updateMar 25

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 (rel

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages4 packages

CVEListV5mbed/mbedtls< 3.6.4
NVDarm/mbed_tls< 3.6.4
Debianmbed/mbedtls< 2.16.9-0.1+deb11u3+2
Ubuntumbed/mbedtls< 2.8.0-1ubuntu0.1~esm1+3

🔴Vulnerability Details

4
OSV
mbedtls vulnerabilities2026-03-25
OSV
CVE-2025-47917: Mbed TLS before 32025-07-20
GHSA
GHSA-7xcg-xp2h-m42v: Mbed TLS before 32025-07-20
CVEList
CVE-2025-47917: Mbed TLS before 32025-07-20

💥Exploits & PoCs

1
Exploit-DB
Mbed TLS 3.6.4 - Use-After-Free2025-09-16

📋Vendor Advisories

2
Ubuntu
Mbed TLS vulnerabilities2026-03-25
Debian
CVE-2025-47917: mbedtls - Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applicati...2025

💬Community

1
Bugzilla
CVE-2025-47917 micropython: Mbed TLS Use-After-Free Vulnerability [fedora-all]2025-07-21
CVE-2025-47917 — Use After Free in Mbed Mbedtls | cvebase