CVE-2025-49600
In MbedTLS 3.3.0 before 3.6.4, mbedtls_lms_verify may accept invalid signatures if hash computation fails and internal errors go unchecked, enabling LMS (Leighton-Micali Signature) forgery in a fault scenario. Specifically, unchecked return values in mbedtls_lms_verify allow an attacker (who can induce a hardware hash accelerator fault) to bypass LMS signature verification by reusing stale stack data, resulting in acceptance of an invalid signature. In mbedtls_lms_verify, the return values of the internal Merkle tree functions create_merkle_leaf_value and create_merkle_internal_value are not checked. These functions return an integer that indicates whether the call succeeded or not. If a failure occurs, the output buffer (Tc_candidate_root_node) may remain uninitialized, and the result of the signature verification is unpredictable. When the software implementation of SHA-256 is used, these functions will not fail. However, with hardware-accelerated hashing, an attacker could use fault injection against the accelerator to bypass verification.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | mbedtls | Under investigation | UBUNTU-CVE-2025-49600 | |
| Ubuntu 25.10 | mbedtls | Will not fix Versions below 3.3.0 are not affected | UBUNTU-CVE-2025-49600 | |
| Debian 14 | mbedtls | Fixed | 3.6.4-1 | DEBIAN-CVE-2025-49600 |
| Debian 13 | mbedtls | Fixed | 3.6.4-1 | DEBIAN-CVE-2025-49600 |
| Alpine Linux 3.24 | mbedtls | Fixed | 3.6.4-r0 | ALPINE-CVE-2025-49600 |
| Alpine Linux 3.24 | mbedtls3 | Fixed | 3.6.4-r0 | ALPINE-CVE-2025-49600 |
| Alpine Linux 3.23 | mbedtls | Fixed | 3.6.4-r0 | ALPINE-CVE-2025-49600 |
| Alpine Linux 3.22 | mbedtls | Fixed | 3.6.4-r0 | ALPINE-CVE-2025-49600 |
| Alpine Linux 3.21 | mbedtls | Fixed | 3.6.4-r0 | ALPINE-CVE-2025-49600 |
| Alpine Linux 3.20 | mbedtls | Fixed | 3.6.4-r0 | ALPINE-CVE-2025-49600 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mbedtls: affected: 3.3.0 to before 3.6.4; fixed in
3.6.4
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.