Mbed-TLS.mbedtls is vulnerable to Out-of-bounds Read
48
Medium Risk
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.
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.
Mbed-TLS.mbedtls is vulnerable to Out-of-bounds Read in versions 3.3.0 - 3.6.3.
Upgrade the Mbed-TLS.mbedtls library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant