CVE catalog

CVE-2025-49087

mbedtls: CVE-2025-49087

[CVE catalog]

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

In Mbed TLS 3.6.1 through 3.6.3 before 3.6.4, a timing discrepancy in block cipher padding removal allows an attacker to recover the plaintext when PKCS#7 padding mode is used.

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[1108789]
Debianmbedtlssourceforky3.6.4-1not yet assignedNot reported[1108789]
Debianmbedtlssourcetrixie3.6.4-1not yet assignedNot reported[1108789]
DebianmbedtlssourcebookwormNot affectedunimportantNot reported[1108789]
Alpinembedtlsapk3.203.6.4-r0Not reportedALPINE-CVE-2025-49087Not reported
Alpinembedtlsapk3.213.6.4-r0Not reportedALPINE-CVE-2025-49087Not reported
Alpinembedtlsapk3.223.6.4-r0Not reportedALPINE-CVE-2025-49087Not reported
Alpinembedtlsapk3.233.6.4-r0Not reportedALPINE-CVE-2025-49087Not reported
Alpinembedtlsapk3.243.6.4-r0Not reportedALPINE-CVE-2025-49087Not reported

[Debian bug #1108789]

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