CVE-2025-47917: Mbedtls · Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are
Affects mbedtlsSource GCVE Database
Public exploit available (Exploit-DB) · CVSS 8.9 High · fixed in 2.8.0-1ubuntu0.1~esm1 : patch mbedtls as a priority.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (mitre) | CVSS 3.1 | 8.9 |
|---|
- EPSS
- 2.4% chance of exploitation in 30 days – higher than 84% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.8.0-1ubuntu0.1~esm1, 2.16.4-1ubuntu2+esm1, 2.28.0-1ubuntu0.1~esm1 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:HExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 20 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by MITRE Corporation
, 67 days before disclosure
CVE published
on cve.org
, t = 0
In Threat Radar
record ingested
, the same day as disclosure
First Exploit-DB entry (opens in a new tab)
Mbed TLS 3.6.4 - Use-After-Free (UAF)
, 58 days after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10mbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu 16.04 LTSmbedtlspkg:deb/ubuntu/mbedtls?arch=source&distro=xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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).