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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | mbedtls | 3.6.4-r0 | ALPINE-CVE-2025-49087 |
| Alpine:v3.21 | mbedtls | 3.6.4-r0 | ALPINE-CVE-2025-49087 |
| Alpine:v3.22 | mbedtls | 3.6.4-r0 | ALPINE-CVE-2025-49087 |
| Alpine:v3.23 | mbedtls | 3.6.4-r0 | ALPINE-CVE-2025-49087 |
| Alpine:v3.24 | mbedtls | 3.6.4-r0 | ALPINE-CVE-2025-49087 |
| Alpine:v3.24 | mbedtls3 | 3.6.4-r0 | ALPINE-CVE-2025-49087 |
| Debian:13 | mbedtls | 3.6.4-1 | DEBIAN-CVE-2025-49087 |
| Debian:14 | mbedtls | 3.6.4-1 | DEBIAN-CVE-2025-49087 |
| Ubuntu:25.10 | mbedtls | no fix listed | UBUNTU-CVE-2025-49087 |
| Ubuntu:26.04:LTS | mbedtls | no fix listed | UBUNTU-CVE-2025-49087 |
Affected products (as reported)
Weakness: CWE-385 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N