Vulnerability · Published Jul 20, 2025 · Assigned by mitre

CVE-2025-48965

Medium 4.0

In plain English

A medium-severity security flaw in mbedtls from Mbed. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.6%top 52.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20mbedtls3.6.4-r0ALPINE-CVE-2025-48965
Alpine:v3.21mbedtls3.6.4-r0ALPINE-CVE-2025-48965
Alpine:v3.22mbedtls3.6.4-r0ALPINE-CVE-2025-48965
Alpine:v3.23mbedtls3.6.4-r0ALPINE-CVE-2025-48965
Alpine:v3.24mbedtls3.6.4-r0ALPINE-CVE-2025-48965
Alpine:v3.24mbedtls33.6.4-r0ALPINE-CVE-2025-48965
Debian:12mbedtlsno fix listedDEBIAN-CVE-2025-48965
Debian:13mbedtls3.6.4-1DEBIAN-CVE-2025-48965
Debian:14mbedtls3.6.4-1DEBIAN-CVE-2025-48965
Ubuntu:25.10mbedtlsno fix listedUBUNTU-CVE-2025-48965

Affected products (as reported)

VendorProductVersions
Mbed mbedtls 0 – before 3.6.4

Weakness: CWE-696 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L

References