CVE-2026-85769Libtpms: libtpms: heap out-of-bounds read in tpm2 state unmarshalling via unchecked…
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
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libtpms | Fix pending | UBUNTU-CVE-2026-85769 | |
| Ubuntu 26.04 | libtpms | Under investigation | UBUNTU-CVE-2026-85769 | |
| Ubuntu 24.04 | libtpms | Under investigation | UBUNTU-CVE-2026-85769 | |
| Ubuntu 22.04 | libtpms | Under investigation | UBUNTU-CVE-2026-85769 | |
| Debian 14 | libtpms | Fix pending | DEBIAN-CVE-2026-85769 | |
| Debian 13 | libtpms | Fix pending | DEBIAN-CVE-2026-85769 | |
| Debian 12 | libtpms | Fix pending | DEBIAN-CVE-2026-85769 | |
| Red Hat Enterprise Linux 10 | libtpms | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libtpms | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libtpms | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libtpms-devel | Fix pending Fix deferred |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Workaround: No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.