Advisory

DEBIAN-CVE-2025-49601

Also known as: CVE-2025-49601

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Dates

Published
2025-07-04 15:15 UTC
Modified
2026-09-01 20:05 UTC

Affected packages and fixes

mbedtls

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.6.4-1 (ecosystem)

Fixed versions

3.6.4-1

Fix

  • Fixed version 3.6.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mbedtls

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.6.4-1 (ecosystem)

Fixed versions

3.6.4-1

Fix

  • Fixed version 3.6.4-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences