CVE-2025-49600

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-49600
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-49600.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-49600
Published
2025-07-04T15:15:22Z
Modified
2025-07-08T17:01:34.414045Z
Summary
[none]
Details

In MbedTLS 3.3.0 before 3.6.4, mbedtlslmsverify 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 mbedtlslmsverify 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 mbedtlslmsverify, the return values of the internal Merkle tree functions createmerkleleafvalue and createmerkleinternalvalue are not checked. These functions return an integer that indicates whether the call succeeded or not. If a failure occurs, the output buffer (Tccandidateroot_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.

References

Affected packages

Debian:13 / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/debian/mbedtls?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.28.3-1
2.28.4-1
2.28.5-1
2.28.6-1
2.28.7-1
2.28.7-1.1~exp1
2.28.7-1.1
2.28.8-1

3.*

3.6.0-1
3.6.0-2
3.6.0-3
3.6.2-1
3.6.2-2
3.6.2-3
3.6.3-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}