CVE-2025-49601 Details
Description
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.
A vulnerability in MbedTLS versions 3.3.0 prior to 3.6.4 allows for an out-of-bounds read in the function mbedtls_lms_import_public_key. This issue arises because the function reads a 32-bit field from the input buffer without first verifying that the buffer is at least 4 bytes long. As a result, context-dependent attackers can supply a truncated Leighton-Micali Signature (LMS) public key buffer of less than four bytes, leading to a crash or limited disclosure of adjacent memory. An LMS public key begins with a 4-byte type indicator, which the vulnerable function reads before validating the buffer size.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-4.md | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| trustedfirmware mbed tls | >= 3.3.0, < 3.6.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 5, 2026 | CPE Deprecation Remap | [email protected] |
| Jul 17, 2025 | Initial Analysis | [email protected] |
| Jul 4, 2025 | New CVE Received | [email protected] |