# CVE-2025-49087: 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 plaint…

- Severity: Medium 4.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-20T00:00:00.000Z
- Modified: 2026-06-17T09:30:46.293Z
- Weaknesses: CWE-385
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Mbed mbedtls: from 3.6.1 before 3.6.4
- trustedfirmware mbed_tls: from 3.6.1 before 3.6.4

## Every score

- mitre: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-5.md> (exploit, third-party-advisory)
- <https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/> (vendor-advisory)

## Sources

- CVE List: [CVE-2025-49087](https://www.cve.org/CVERecord?id=CVE-2025-49087), CVE Terms of Use, modified 2025-07-21
- NVD: [CVE-2025-49087](https://nvd.nist.gov/vuln/detail/CVE-2025-49087), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49087 · Whole record: https://cve.day/CVE-2025-49087.json · Rebuilt by cve.day 2026-11-25T22:59:01.474Z
