Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-49087
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 13:15 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-49087
Complete source record
{
"id": "835e74500cc0a2411dc2118271267a061ff0fd38ac007dea8096cf87d0c2a6d6",
"url": "https://osv.dev/vulnerability/CVE-2025-49087",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-49087",
"summary": "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.",
"evidence": "osv:CVE-2025-49087",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-49087",
"aliases": [
"CVE-2025-49087"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mbed-tls/mbedtls",
"type": "GIT",
"events": [
{
"introduced": "71c569d44bf3a8bd53d874c81ee8ac644dd6e9e3"
},
{
"fixed": "c765c831e5c2a0971410692f92f7a81d6ec65ec2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.6.1"
},
{
"fixed": "3.6.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49087.json"
}
}
],
"modified": "2026-10-28T02:30:50.635911028Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49087.json",
"https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-5.md",
"https://mbed-tls.readthedocs.io/en/latest/tech-updates/security-advisories/",
"https://nvd.nist.gov/vuln/detail/CVE-2025-49087"
],
"provider_metadata": {
"cwe_ids": [
"CWE-385"
],
"cna_assigner": "mitre",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "3.6.1"
},
{
"fixed": "3.6.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49087.json"
}
},
"related_cves": [
{
"value": "CVE-2025-49087",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519416,
"published_at": "2025-07-20T00:00:00+00:00"
}