CVE catalog

CVE-2025-49600

mbedtls: CVE-2025-49600

[CVE catalog]

Severity
Medium · CVSS 4.9CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.16% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianmbedtlssid3.6.7-3fixed
Debianmbedtlsforky3.6.7-3fixed
Debianmbedtlstrixie3.6.6-0.1~deb13u1fixed
Debianmbedtlsbookworm2.28.3-1not affected
Alpinembedtls3.203.6.4-r0fixed
Alpinembedtls3.213.6.4-r0fixed
Alpinembedtls3.223.6.4-r0fixed
Alpinembedtls3.233.6.4-r0fixed
Alpinembedtls3.243.6.4-r0fixed
Ubuntumbedtls25.103.6.2-3ubuntu1vulnerable
Ubuntumbedtls26.043.6.2-3ubuntu1vulnerable
Ubuntumbedtls26.043.6.5-0.1ubuntu1vulnerable
Ubuntumbedtls26.043.6.5-0.1ubuntu2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianmbedtlssourcesid3.6.4-1not yet assignedNot reported[1108787]
Debianmbedtlssourceforky3.6.4-1not yet assignedNot reported[1108787]
Debianmbedtlssourcetrixie3.6.4-1not yet assignedNot reported[1108787]
DebianmbedtlssourcebookwormNot affectedunimportantNot reported[1108787]
Alpinembedtlsapk3.203.6.4-r0Not reportedALPINE-CVE-2025-49600Not reported
Alpinembedtlsapk3.213.6.4-r0Not reportedALPINE-CVE-2025-49600Not reported
Alpinembedtlsapk3.223.6.4-r0Not reportedALPINE-CVE-2025-49600Not reported
Alpinembedtlsapk3.233.6.4-r0Not reportedALPINE-CVE-2025-49600Not reported
Alpinembedtlsapk3.243.6.4-r0Not reportedALPINE-CVE-2025-49600Not reported

[Debian bug #1108787]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libmbedcrypto7]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedtls14]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedtls-dev]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedtls-doc]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · all · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · all · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedx509-1]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

[Debian 13 (Trixie)]

  • Source package: [mbedtls]

    Details (2)
    • 3.6.5-0.1~deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

    • 3.6.5-0.1~deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

  • Source package: [mbedtls]

    Details (2)
    • 3.6.5-0.1~deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

    • 3.6.5-0.1~deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

  • Source package: [mbedtls]

    Details (2)
    • 3.6.5-0.1~deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

    • 3.6.5-0.1~deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

  • Source package: [mbedtls]

    Details (2)
    • 3.6.5-0.1~deb13u1 · all · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

    • 3.6.5-0.1~deb13u1 · all · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

  • Source package: [mbedtls]

    Details (2)
    • 3.6.5-0.1~deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

    • 3.6.5-0.1~deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.6.4-1

      dsa · mbedtls · debian · 13

Observed:

References