p PatchFirst

CVE-2026-85769

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

CVSS 6.5 · Medium · EPSS 0.4%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libtpms"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • red hat enterprise linux 10

    No fix published

  • red hat enterprise linux 8

    No fix published

  • red hat enterprise linux 9

    No fix published

  • libtpms Debian 12

    Versions
    • 0.10.1-1
    • 0.10.1-2
    • 0.10.2-1
    • 0.10.2-2
    • 0.10.2-3
    • 0.10.2-4
    All versions (11)
    • 0.10.2-5
    • 0.9.2-3.1
    • 0.9.2-3.1+deb12u1
    • 0.9.2-3.2
    • 0.9.2-3.2+hurd.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libtpms Debian 13

    Versions
    • 0.10.1-1
    • 0.10.1-2
    • 0.10.2-1
    • 0.10.2-2
    • 0.10.2-3
    • 0.10.2-4
    All versions (9)
    • 0.10.2-5
    • 0.9.2-3.2
    • 0.9.2-3.2+hurd.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libtpms Debian 14

    Versions
    • 0.10.1-1
    • 0.10.1-2
    • 0.10.2-1
    • 0.10.2-2
    • 0.10.2-3
    • 0.10.2-4
    All versions (9)
    • 0.10.2-5
    • 0.9.2-3.2
    • 0.9.2-3.2+hurd.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libtpms Ubuntu 22.04 LTS

    Versions
    • 0.8.2-1ubuntu1
    • 0.9.0-0ubuntu1
    • 0.9.0-0ubuntu2
    • 0.9.0-0ubuntu3
    • 0.9.0-0ubuntu4
    • 0.9.3-0ubuntu1
    All versions (8)
    • 0.9.3-0ubuntu1.22.04.1
    • 0.9.3-0ubuntu1.22.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libtpms Ubuntu 24.04 LTS

    Versions
    • 0.9.3-0ubuntu2
    • 0.9.3-0ubuntu3
    • 0.9.3-0ubuntu4
    • 0.9.3-0ubuntu4.24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libtpms Ubuntu 26.10

    Versions
    • 0.10.2-2ubuntu1
    • 0.10.2-2ubuntu2
    • 0.10.2-5ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libtpms Ubuntu 26.04 LTS

    Versions
    • 0.9.3-0ubuntu5
    • 0.10.1-2ubuntu1
    • 0.10.2-1ubuntu1
    • 0.10.2-2ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →