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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34874.json",
"cna_assigner": "mitre",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "3.6.5"
},
{
"introduced": "4.x"
},
{
"fixed": "4.0.0"
}
],
"source": "DESCRIPTION"
}
]
}{
"cpe": [
"cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*",
"cpe:2.3:a:trustedfirmware:mbed_tls:4.0.0:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.6.6"
},
{
"introduced": "4.0.0"
},
{
"last_affected": "4.0.0"
}
],
"source": [
"CPE_RANGE",
"CPE_STRING"
]
}