CyberRota Analysis
AI-GeneratedA vulnerability in libtpms allows a malformed TPM 2.0 state blob to bypass bounds checks, potentially leading to a denial of service by crashing the process hosting libtpms, such as swtpm. This affects any virtual machines relying on the emulated TPM device, making it critical for organizations utilizing virtualized environments with TPM emulation to prioritize remediation. While no data corruption or information disclosure is associated with this flaw, the impact on service availability warrants immediate attention.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
A flaw was found in libtpms, a library that provides software TPM 2.0 emulation. When restoring TPM 2.0 state (for example during a virtual machine's power-on or state/migration restore), a malformed state blob can supply an oversized skip-block length that is not validated against the remaining size of the input buffer. This can drive an internal size counter negative, which bypasses a subsequent bounds check due to an unsafe signed-to-unsigned conversion, causing the parser to read memory outside the bounds of the heap buffer holding the state data. Successful exploitation can crash the process hosting libtpms (such as swtpm), resulting in a denial of service of the emulated TPM device and the virtual machine that depends on it. No data corruption or information disclosure was confirmed.