Intel

AIKIDO-2026-248714

Mbed-TLS.mbedtls is vulnerable to Buffer Underflow

Buffer UnderflowCVE-2026-25833 Published 3 days ago

35

Low Risk

This Affects:

c++Mbed-TLS.mbedtls
3.5.0 - 3.6.5
Fixed in 3.6.6
4.0.0 - 4.0.0
Fixed in 4.1.0
Are you affected? Scan for Free

TL;DR

The helper x509_inet_pton_ipv6(), used when parsing IPv6 addresses in X.509 name handling, mishandles buffer bounds. Parsing crafted IPv6 address input drives an out-of-bounds access around a stack buffer. This can corrupt memory and crash the process. The fix corrects the bounds handling in the IPv6 parsing routine.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses X.509 data containing untrusted IPv6 address strings.

Background info

Mbed-TLS.mbedtls is vulnerable to Buffer Underflow in versions 3.5.0 - 3.6.5 and 4.0.0 - 4.0.0.

How to fix this

Upgrade the Mbed-TLS.mbedtls library to the patch version.