CVE-2026-34875 Details
Description
An issue was discovered in Mbed TLS through 3.6.5 and TF-PSA-Crypto 1.0.0. A buffer overflow can occur in public key export for FFDH keys.
A buffer overflow vulnerability has been identified in Mbed TLS versions prior to 3.6.6 and in TF-PSA-Crypto 1.0.0. The issue arises during the export of public keys for Finite Field Diffie-Hellman (FFDH) keys, where the `psa_export_public_key()` function fails to properly validate the size of the output buffer. This oversight allows an attacker to overflow the buffer by supplying a smaller-than-necessary output buffer, potentially leading to memory corruption and arbitrary code execution.
Users should upgrade to Mbed TLS 3.6.6 or TF-PSA-Crypto 1.1.0. For those maintaining a branch with backported bug fixes, relevant commits are available.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| trustedfirmware mbed tls | >= 3.5.0, < 3.6.6 |
CPE
Remediation
| |
| trustedfirmware tf-psa-crypto | < 1.1.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 5, 2026 | CPE Deprecation Remap | [email protected] |
| Jun 5, 2026 | CPE Deprecation Remap | [email protected] |
| Apr 6, 2026 | Initial Analysis | [email protected] |
| Apr 1, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2026 | New CVE Received | [email protected] |