Service interruption via inconsistent ASN.1 list state
Published Jul 20, 2025 · Updated Nov 3, 2025
NULL pointer dereference in Mbed TLS before 3.6.4 allows remote attackers to interrupt services through crafted X.509 name strings. mbedtls_asn1_store_named_data frees val.p for a repeated zero-length OID but leaves val.len nonzero, so later X.509 name parsing or writing dereferences NULL. Exposure requires an application to create certificates or CSRs from untrusted names; protected platforms crash, while microcontrollers without an MMU or MPU face code-execution risk.
Summary
What happened
NULL pointer dereference in Mbed TLS before 3.6.4 allows remote attackers to interrupt services through crafted X.509 name strings. mbedtls_asn1_store_named_data frees val.p for a repeated zero-length OID but leaves val.len nonzero, so later X.509 name parsing or writing dereferences NULL. Exposure requires an application to create certificates or CSRs from untrusted names; protected platforms crash, while microcontrollers without an MMU or MPU face code-execution risk.
The record
- CVE
- CVE-2025-48965
- Published
- Jul 20, 2025
- Updated
- Nov 3, 2025
- Vendor
- TrustedFirmware.org
- Product
- Mbed TLS
- Classifications
- CWE-476, CWE-696
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 20, 2025CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <3.6.4
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo