What’s Vulnerable › Vulnerabilities
CVE-2026-85769: Libtpms: libtpms: heap out-of-bounds read in tpm2 state unmarshalling via unchecked block_skip_read() blocksize
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-04 · updated 2026-09-08
- Weakness: CWE-125
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.
Affected products
- Red Hat Enterprise Linux 10: all versions
- Red Hat Enterprise Linux 8: all versions
- Red Hat Enterprise Linux 9: all versions
References
- https://access.redhat.com/security/cve/CVE-2026-85769
- https://bugzilla.redhat.com/show_bug.cgi?id=2528538
- https://github.com/stefanberger/libtpms/commit/b1462888180d896af03cae0487e8d45009cc445e
- https://github.com/stefanberger/libtpms/issues/614
- https://github.com/stefanberger/libtpms/pull/613
Get alerted when CVE-2026-85769 or the next vulnerability affects your stack