Vulnerability · Published Jul 4, 2025 · Assigned by mitre

CVE-2025-52497

Medium 4.8

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.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.3%top 73.6% 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 PEM parsing one-byte heap-based buffer underflow, in mbedtls_pem_read_buffer and two mbedtls_pk_parse functions, via untrusted PEM input.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
Mbed mbedtls 0 – before 3.6.4

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

References