CVE-2025-52497: Mbed TLS - Buffer Overflow
- Cve: CVE-2025-52497
- Name: Mbed TLS - Buffer Overflow
- 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.
- Impact: Attackers can cause memory corruption, potentially leading to denial of service or code execution.
- Remediation: Update to version 3.6.4 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
- Epss score: 0.00331
- Epss percentile: 0.26548
- Assignee: [email protected]
- Published at: 2025-07-04T15:15:22Z
- Age in days: 508
- Modified at: 2026-06-17T09:36:36Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-52497
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-193 | Off-by-one Error |
References
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| arm:mbed_tls | < 3.6.4 | no | nvd | /v1/products/arm/mbed_tls |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts