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.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-49601
Upstream
Published
2025-07-04T15:15:00Z
Modified
2025-07-18T17:05:07Z
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:Pro:16.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls@2.2.1-2ubuntu0.3?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

2.*

2.1.2-1
2.2.0-1
2.2.1-1
2.2.1-2
2.2.1-2ubuntu0.1
2.2.1-2ubuntu0.2
2.2.1-2ubuntu0.3

Ubuntu:Pro:18.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls@2.8.0-1?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

2.*

2.5.1-1ubuntu1
2.6.0-1
2.7.0-2
2.8.0-1

Ubuntu:Pro:20.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls@2.16.4-1ubuntu2?arch=source&distro=esm-apps/focal

Affected ranges

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

Affected versions

2.*

2.16.2-1
2.16.3-1
2.16.4-1ubuntu2

Ubuntu:22.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls@2.28.0-1build1?arch=source&distro=jammy

Affected ranges

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

Affected versions

2.*

2.16.9-0.1ubuntu1
2.16.11-0.1ubuntu1
2.16.11-0.3
2.28.0-1
2.28.0-1build1

Ubuntu:24.04:LTS / mbedtls

Package

Name
mbedtls
Purl
pkg:deb/ubuntu/mbedtls@2.28.8-1?arch=source&distro=noble

Affected ranges

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

Affected versions

2.*

2.28.3-1
2.28.6-1ubuntu1
2.28.7-1ubuntu1
2.28.7-1.1ubuntu1
2.28.8-1

Ubuntu:25.04 / mbedtls

Package

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

Affected ranges

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

Affected versions

2.*

2.28.8-1

3.*

3.6.2-1ubuntu4
3.6.2-2ubuntu1
3.6.2-3ubuntu1