UBUNTU-CVE-2025-49601

Source
https://ubuntu.com/security/CVE-2025-49601
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-49601.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-49601
Upstream
Published
2025-07-04T15:15:00Z
Modified
2026-04-22T16:03:26.106745Z
Severity
  • 4.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

In MbedTLS 3.3.0 before 3.6.4, mbedtlslmsimportpublickey 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 mbedtlslmsimportpublickey 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 mbedtlslmsimportpublickey reads this type indicator before validating the size of its input.

References

Affected packages

Ubuntu:25.10 / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls@3.6.2-3ubuntu1?arch=source&distro=questing

Affected ranges

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

Affected versions

3.*
3.6.2-3ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.6.2-3ubuntu1",
            "binary_name": "libmbedcrypto16"
        },
        {
            "binary_version": "3.6.2-3ubuntu1",
            "binary_name": "libmbedtls21"
        },
        {
            "binary_version": "3.6.2-3ubuntu1",
            "binary_name": "libmbedx509-7"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-49601.json"