#VU124807 NULL pointer dereference in mbed TLS - CVE-2026-34874

 

#VU124807 NULL pointer dereference in mbed TLS - CVE-2026-34874

Published: April 2, 2026


Vulnerability identifier: #VU124807
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-34874
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
mbed TLS
Software vendor:
ARM

Description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper memory management in the function mbedtls_x509_string_to_names() when processing user-supplied distinguished names. A remote attacker can cause a memory allocation failure during the execution of mbedtls_x509_string_to_names() to trigger a null pointer dereference, leading to arbitrary code execution on systems without memory protection at address 0.

On platforms with memory protection, this may result in a segmentation fault or denial of service instead of code execution.


Remediation

Install security update from vendor's website.

External links