Out-of-bounds read in libtpms - CVE-2025-49133

 

Out-of-bounds read in libtpms - CVE-2025-49133

Published: July 30, 2025


Vulnerability identifier: #VU113442
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-49133
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Stefan Berger
Affected software:
libtpms

Detailed vulnerability description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition within the CryptHmacSign() function. A local user can trigger an out-of-bounds read error by sending malicious commands to a TPM 2.0/vTPM (swtpm) whose firmware is based on an affected TCG reference implementation and make vTPM (swtpm) unavailable to a VM.


How to mitigate CVE-2025-49133

Install updates from vendor's website.

Sources