Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2025-47917

Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are developed in accordance with the documentation.

EXPLOITCRITICAL 9.8EPSS 2.42%

Does this matter?

A public exploit is published in Exploit-DB and the impact is critical, while EPSS rates exploitation at 2.4%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.

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

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.42% probability · 85th percentile
Public exploits
1 in Exploit-DB · first 16 September 2025
CISA KEV
Not listed
Weakness
CWE-416: Use after free
Affected
arm/mbed tls
Source
cve@mitre.org

In plain terms

It can be reached over a network with no login and no help from a user. On a system exposed to the internet, a patch or a network control is all that stands in the way.

Reached from
Over a network. If the affected system can be reached from the internet, so can the flaw.
Effort
Nothing outside the attacker's control has to line up, so an attack can be repeated reliably.
Login needed
None. No login is needed.
Someone else involved
No. Nobody has to click, open or approve anything.
At risk
Reading data: serious. Changing data: serious. Stopping the service: serious.

Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.

The first public exploit in Exploit-DB is dated 16 September 2025, 58 days after the record was published.

EPSS trend
0%3%5%4 December 2026: 2.42%4 December 20264 December 2026

EPSS 2.4% since 4 December 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-52427source ↗Mbed TLS 3.6.4 - Use-After-Free (UAF)multiple · Byte Reaperlocal16 September 2025no

The same product

We hold 4 records for arm/mbed tls. None of them is on CISA’s known-exploited list. Follow this product to hear of the next one.

Where to go from here

One vulnerability is rarely the whole question. These are free, and none of them asks for an account.

By email

Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.

Double opt-in. Unsubscribe in one click. No sharing, ever.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.