nday
CVE-2025-47917

Mbed mbedtls: use-after-freeTitle composed by nday; the CVE record has none.

Mbed / mbedtls

A public PoC appeared 58 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

use-after-free
CWE-416, stated by the CNA mitre and NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H (CVSS 3.1) from the CNA mitre
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H (CVSS 3.1) from the CNA mitre
no authentication required
PR:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H (CVSS 3.1) from the CNA mitre
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H (CVSS 3.1) from the CNA mitre
Exploit-DB
Exploit-DB entries 52427
stage
POC
disclosed
disclosure → PoC
T+58d POC is date-only
cvss
8.9 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-07-20T00:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2025-09-16, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA mitre.

Event log

+DISdisclosed

CVE record published by mitre. CVSS 8.9, high.

src cvelist · nday , bulk import · raw
{
  "id": 60542,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-47917",
  "occurred_at": "2025-07-20T00:00:00Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H",
      "version": "3.1",
      "base_score": 8.9,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-07-22T14:22:32.212909Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-07-20T00:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2025-09-16date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Mbed TLS 3.6.4 - Use-After-Free” (EDB-52427).

src exploitdb 52427 · nday , bulk import · raw
{
  "id": 26597,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52427",
  "occurred_at": "2025-09-16T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52427",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52427",
    "file": "exploits/multiple/local/52427.c",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Mbed TLS 3.6.4 - Use-After-Free",
    "author": "Byte Reaper",
    "edb_id": 52427,
    "cve_ids": [
      "CVE-2025-47917"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2025-09-16",
    "date_updated": "2025-09-16",
    "date_published": "2025-09-16"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.