# CVE-2025-49601: In MbedTLS 3.3.0 before 3.6.4, mbedtlslmsimportpublickey does not check that the input buffer is at least 4 bytes before reading a 32-bit f…

- Severity: Medium 4.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2025-07-04T00:00:00.000Z
- Modified: 2026-06-17T09:31:34.110Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Mbed mbedtls: from 3.3.0 before 3.6.4
- trustedfirmware mbed_tls: from 3.3.0 before 3.6.4

## Every score

- mitre: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`

## References

- <https://github.com/Mbed-TLS/mbedtls-docs/blob/main/security-advisories/mbedtls-security-advisory-2025-06-4.md> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-49601](https://www.cve.org/CVERecord?id=CVE-2025-49601), CVE Terms of Use, modified 2025-07-08
- NVD: [CVE-2025-49601](https://nvd.nist.gov/vuln/detail/CVE-2025-49601), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49601 · Whole record: https://cve.day/CVE-2025-49601.json · Rebuilt by cve.day 2026-11-25T22:59:00.665Z
