Skip to content
VulniPulse
Medium6.5Red Hat Linux

Medium [CVE-2026-85769] Libtpms: libtpms: heap out-of-bounds read in tpm2 state unmarshalling via unchecked block_skip_read blocksize

This medium-severity Red Hat Linux advisory covers CVE-2026-85769 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9.

CVE-2026-85769 Published Sep 4, 2026Updated by vendor Sep 4, 2026
Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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.

This vulnerability is rated as Moderate because exploitation results in a denial of service (crash or forced TPM failure mode) via a heap out-of-bounds read, with no confirmed information disclosure or code execution path. The flaw affects builds of libtpms compiled with TPM 2.0 support (--with-tpm2, the default).

The vulnerable code is in the TPM 2.0 state (de)serializer and is not present in TPM 1.2-only builds. Products that ship libtpms with TPM 2.0 support (used to provide virtual TPM 2.0 devices to guests via swtpm/QEMU) are affected.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Fixed versions

No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Mitigation checklist

Temporary workarounds
  • No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.

Official advisory · high-confidence parse· fetched 1 hour ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.