Intel

AIKIDO-2026-297573

Mbed-TLS.mbedtls is vulnerable to Out-of-bounds Read

Out-of-bounds ReadCVE-2025-49601 Published 4 days ago

48

Medium Risk

This Affects:

c++Mbed-TLS.mbedtls
3.3.0 - 3.6.3
Fixed in 3.6.4
Are you affected? Scan for Free

TL;DR

The function mbedtls_lms_import_public_key() reads a 4-byte LMS type indicator at the start of the public key before validating that the input buffer is large enough. Supplying a truncated public key shorter than four bytes causes an out-of-bounds read of up to four bytes. This can crash the process or leak whether those bytes match a fixed value, with no code execution or large-scale disclosure. The fix validates the input length before reading the type indicator.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application imports LMS public keys from untrusted input.

Background info

Mbed-TLS.mbedtls is vulnerable to Out-of-bounds Read in versions 3.3.0 - 3.6.3.

How to fix this

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