cvedb.io
CVE-2025-49601
MEDIUM · CVSS 4.8
EPSS exploitation probability: 0%
Published 2025-07-04T15:15:22.467 · Last modified 2026-06-17T09:31:34.110

Summary

In MbedTLS 3.3.0 before 3.6.4, mbedtls_lms_import_public_key does not check that the input buffer is at least 4 bytes before reading a 32-bit field, allowing a possible out-of-bounds read on truncated input. Specifically, an out-of-bounds read in mbedtls_lms_import_public_key allows context-dependent attackers to trigger a crash or limited adjacent-memory disclosure by supplying a truncated LMS (Leighton-Micali Signature) public-key buffer under four bytes. An LMS public key starts with a 4-byte type indicator. The function mbedtls_lms_import_public_key reads this type indicator before validating the size of its input.

Affected products

trustedfirmware — mbed_tls

Does this affect you?

Add your gear to cvedb and we'll alert you only when trustedfirmware ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.