CVE-2025-48965 Null dereference in mbedtls

Medium 4.0 Published Updated

A NULL pointer dereference in Mbed TLS allows attackers to cause a denial of service via crafted ASN.1 data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-48965?

CVE-2025-48965 is a medium-severity vulnerability in Arm Mbed Tls, published on 20 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Mbed TLS before 3.6.4 has a NULL pointer dereference because mbedtls_asn1_store_named_data can trigger conflicting data with val.p of NULL but val.len greater than zero.

Weakness: CWE-476, CWE-696

Which versions are affected by CVE-2025-48965?

It affects 1 product.

Products include Arm Mbed Tls.

How do I fix CVE-2025-48965?

Upgrade to a fixed version.

Is CVE-2025-48965 being exploited?

There is no known exploitation of CVE-2025-48965 in the wild and no public exploit code.

All Arm Mbed Tls vulnerabilities

Sources

Also known as ALPINE-CVE-2025-48965, DEBIAN-CVE-2025-48965, GHSA-qxjv-288g-w43x, JLSEC-2025-230, ROOT-OS-DEBIAN-12-CVE-2025-48965, UBUNTU-CVE-2025-48965.

Is CVE-2025-48965 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free