p PatchFirst

CVE-2025-49601

CVE-2025-49601

CVSS 4.8 · Medium · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • mbedtlsUpdate to 3.6.4
  • mbedtls Alpine 3.20Update to 3.6.4-r0
  • mbedtls Alpine 3.21Update to 3.6.4-r0
  • mbedtls Alpine 3.22Update to 3.6.4-r0
  • and 6 more

Check the installed version:

apk list -I -o mbedtls

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • mbedtls

    Versions
    • ≥ 3.3.0, < 3.6.4: Affected (custom)

    Update to 3.6.4

  • mbedtls Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 3.6.4-r0

    Update to 3.6.4-r0

  • mbedtls Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 3.6.4-r0

    Update to 3.6.4-r0

  • mbedtls Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 3.6.4-r0

    Update to 3.6.4-r0

  • mbedtls Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 3.6.4-r0

    Update to 3.6.4-r0

  • mbedtls Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 3.6.4-r0

    Update to 3.6.4-r0

  • mbedtls3 Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 3.6.4-r0

    Update to 3.6.4-r0

  • mbedtls Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.6.4-1

    Update to 3.6.4-1

  • mbedtls Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.6.4-1

    Update to 3.6.4-1

  • mbedtls Ubuntu 25.10

    Versions
    • 3.6.2-3ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →