CVE-2026-34874 Details
Description
An issue was discovered in Mbed TLS through 3.6.5 and 4.x through 4.0.0. There is a NULL pointer dereference in distinguished name parsing that allows an attacker to write to address 0.
A null pointer dereference vulnerability has been identified in Mbed TLS versions 3.5.0 prior to 3.6.5 and in the 4.x series through 4.0.0. The issue arises during distinguished name parsing, where an attacker can exploit a memory allocation failure to cause a null pointer to be used as a destination address in a memory copy operation. This vulnerability can lead to a segmentation fault on platforms with memory protection or, on microcontrollers, allow arbitrary code execution by writing to an interrupt vector.
Users are advised to upgrade to Mbed TLS versions 3.6.6 or 4.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-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| trustedfirmware mbed tls | >= 3.5.0, < 3.6.6 4.0.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 3, 2026 | Initial Analysis | [email protected] |
| Apr 1, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2026 | New CVE Received | [email protected] |