CVE-2026-85769

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

Published Sep 4, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in libtpms allows an attacker to supply a malformed TPM 2.0 state blob that contains an oversized skip-block length. This length is not validated against the remaining input, driving an internal size counter negative and, because of an unsafe signed‑to‑unsigned conversion, bypassing the subsequent bounds check. The result is a heap out‑of‑bounds read that can crash the process hosting libtpms—such as swtpm—causing a denial of service for the emulated TPM device and any virtual machine that depends on it. No data corruption or information disclosure was confirmed.

Affected Systems

The vulnerability exists in Red Hat Enterprise Linux 10, 8 and 9, where libtpms provides software TPM 2.0 emulation. Systems running these RHEL releases that use libtpms for virtual machine TPM support are affected and may experience service interruption when powering on or restoring a virtual machine from a state that includes a malicious blob.

Risk and Exploitability

The CVSS score of 6.5 indicates a moderate severity impact. The EPSS score is not available, so the current likelihood of exploitation is unknown. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is during a TPM state restoration—such as a virtual machine power‑on, migration, or state load—driving the out‑of‑bounds read; in practice this could be invoked locally if an attacker can influence the state blob or remotely if the attacker can force a state restore through an untrusted input channel. Successful exploitation results only in denial of service, not in disclosure of data or corruption of the emulator memory.

Remediation

Vendor Workaround

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


OpenCVE Recommended Actions

  • Upgrade or patch libtpms to the fixed version once it becomes available from Red Hat.
  • If a patch is not yet released, isolate or disable virtual machines that rely on libtpms on RHEL 10, 8 and 9 from untrusted networks until the issue is remediated.
  • Monitor Red Hat advisories and apply any subsequent security updates or work‑arounds as they are published.

Generated by OpenCVE AI on September 4, 2026 at 20:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Libtpms: libtpms: heap out-of-bounds read in tpm2 state unmarshalling via unchecked block_skip_read() blocksize
First Time appeared Redhat
Redhat enterprise Linux
Weaknesses CWE-125
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 24, 2026, 10:10 PM
Reserved
Sep 4, 2026, 3:19 PM
Status
Awaiting Analysis
Published
Sep 4, 2026, 6:18 PM
Modified
Nov 24, 2026, 10:18 PM
Severity
Moderate
Public date
Sep 4, 2026, 12:00 AM