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).
| Reporter | Title | Published | Views | Family All 42 |
|---|---|---|---|---|
| Exploit for Use After Free in Arm Mbed_Tls | 22 Jul 202500:34 | – | githubexploit | |
| CVE-2025-47917 | 20 Jul 202500:00 | – | alpinelinux | |
| Astra Linux – Vulnerability in mbedtls | 1 Nov 202510:54 | – | astralinux | |
| The vulnerability of the mbedtls_x509_string_to_names function in Mbed TLS software allows a attacker to execute arbitrary code. | 8 Aug 202500:00 | – | bdu_fstec | |
| CVE-2025-47917 | 20 Jul 202520:47 | – | circl | |
| Mbed TLS 资源管理错误漏洞 | 20 Jul 202500:00 | – | cnnvd | |
| CVE-2025-47917 | 20 Jul 202500:00 | – | cve | |
| CVE-2025-47917 | 20 Jul 202500:00 | – | cvelist | |
| [SECURITY] [DLA 4274-1] mbedtls security update | 18 Aug 202517:33 | – | debian | |
| [SECURITY] [DLA 4274-2] mbedtls security update | 30 Aug 202514:07 | – | debian |
10
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
09 Sep 2026 08:54Current
7.8High risk
Vulners AI Score7.8
CVSS 3.18.9 - 9.8
EPSS0.02061
SSVC