Vulnerability · Published Jul 20, 2025 · Assigned by mitre

CVE-2025-49087

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

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

Official description

In Mbed TLS 3.6.1 through 3.6.3 before 3.6.4, a timing discrepancy in block cipher padding removal allows an attacker to recover the plaintext when PKCS#7 padding mode is used.

Affected packages & fixed versions

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

Affected products (as reported)

VendorProductVersions
Mbed mbedtls 3.6.1 – before 3.6.4

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

References