# CVE-2026-85769: Libtpms: libtpms: heap out-of-bounds read in tpm2 state unmarshalling via unchecked block_skip_read() blocksize

- Severity: Medium 6.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-09-04T17:48:13.674Z
- Modified: 2026-11-24T22:18:57.180Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libtpms: no versions given
- virt:rhel/libtpms: no versions given

## References

- <https://access.redhat.com/security/cve/CVE-2026-85769> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2528538> (issue-tracking)
- <https://github.com/stefanberger/libtpms/commit/b1462888180d896af03cae0487e8d45009cc445e>
- <https://github.com/stefanberger/libtpms/issues/614>
- <https://github.com/stefanberger/libtpms/pull/613>

## Sources

- CVE List: [CVE-2026-85769](https://www.cve.org/CVERecord?id=CVE-2026-85769), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-85769](https://nvd.nist.gov/vuln/detail/CVE-2026-85769), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-85769 · Whole record: https://cve.day/CVE-2026-85769.json · Rebuilt by cve.day 2026-11-25T22:59:36.395Z
