p PatchFirst

PatchFirst · Latest vulnerabilities

libtpms vulnerabilities

Vulnerabilities published for libtpms in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 12

  1. CVE-2026-85769

    Medium · CVSS 6.5EPSS 0.42%No fix published

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

    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

    Published Updated
  2. CVE-2026-6726

    High · CVSS 7.9EPSS 0.19%Fix available

    An information leakage vulnerability in the TCG TPM 2.0 reference code.

    An information leakage vulnerability was reported in the TCG TPM 2.0 reference code that could allow a local attacker with elevated privileges to obtain a credential from a TPM-aware CA for a falsified TPM key (such as an Attestation Key, DevID Key or TLS authentication key) and falsify other TPM 2.0 attestations with this key. See also TCG VRT0010.

    • Update to 0.9.1-1
    Published Updated
  3. CVE-2026-6727

    Medium · CVSS 5.9EPSS 0.15%No fix published

    CVE-2026-6727

    A timing side-channel vulnerability exists in the RSA OAEP decryption implementation. A privileged local attacker with access to the TPM command interface may be able to exploit timing differences to recover information that could allow decryption of ciphertexts encrypted to TPM-managed RSA keys, including the RSA Endorsement Key (EK), including import blobs, credential blobs, and session salts. Under certain conditions, this may also enable the forgery of TPM 2.0 attestations. Refer to TCGVRT0011.

    Published Updated
  4. CVE-2026-21444

    Medium · CVSS 5.5EPSS 0.08%Fix available

    libtpms returns wrong initialization vector when certain symmetric ciphers are used

    libtpms, a library that provides software emulation of a Trusted Platform Module, has a flaw in versions 0.10.0 and 0.10.1. The commonly used integration of libtpms with OpenSSL 3.x contained a vulnerability related to the returned IV (initialization vector) when certain symmetric ciphers were used. Instead of returning the last IV it returned the initial IV to the caller, thus weakening the subsequent encryption and decryption steps. The highest threat from this vulnerability is to data confidentiality. Version 0.10.2 fixes the issue. No known workarounds are available.

    • Update to 0.10.2-1
    Published Updated
  5. CVE-2025-49133

    Medium · CVSS 5.9EPSS 0.19%Fix available

    Libtpms contains a possible out-of-bound access and abort due to HMAC signing issue

    Libtpms is a library that targets the integration of TPM functionality into hypervisors, primarily into Qemu. Libtpms, which is derived from the TPM 2.0 reference implementation code published by the Trusted Computing Group, is prone to a potential out of bounds (OOB) read vulnerability. The vulnerability occurs in the ‘CryptHmacSign’ function with an inconsistent pairing of the signKey and signScheme parameters, where the signKey is ALG_KEYEDHASH key and inScheme is an ECC or RSA scheme. The reported vulnerability is in the ‘CryptHmacSign’ function, which is defined in the "Part 4: Supporting Routines – Code" document, section "7.151 - /tpm/

    • Update to 0.9.2-3.2
    Published Updated
  6. CVE-2023-1017

    High · CVSS 7.8EPSS 1.38%Fix available

    TPM2.0 vulnerable to out-of-bounds write

    An out-of-bounds write vulnerability exists in TPM2.0's Module Library allowing writing of a 2-byte data past the end of TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can lead to denial of service (crashing the TPM chip/process or rendering it unusable) and/or arbitrary code execution in the TPM context.

    • Update to 0.9.2-3.1
    Published Updated
  7. CVE-2023-1018

    Medium · CVSS 5.5EPSS 5.51%Fix available

    TPM2.0 vulnerable to out-of-bounds read

    An out-of-bounds read vulnerability exists in TPM2.0's Module Library allowing a 2-byte read past the end of a TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can read or access sensitive data stored in the TPM.

    • Update to 0.9.2-3.1
    Published Updated
  8. CVE-2021-3623

    Medium · CVSS 6.1EPSS 0.32%Fix available

    CVE-2021-3623

    A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values and may lead to an out-of-bounds access when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read. The highest threat from this vulnerability is to system availability.

    • Update to 0.9.1-1
    Published Updated
  9. CVE-2021-3746

    Medium · CVSS 6.5EPSS 0.96%Fix available

    CVE-2021-3746

    A flaw was found in the libtpms code that may cause access beyond the boundary of internal buffers. The vulnerability is triggered by specially-crafted TPM2 command packets that then trigger the issue when the state of the TPM2's volatile state is written. The highest threat from this vulnerability is to system availability. This issue affects libtpms versions before 0.8.5, before 0.7.9 and before 0.6.6.

    • Update to 0.9.1-1
    Published Updated
  10. CVE-2021-3569

    Medium · CVSS 5.5EPSS 0.26%Fix available

    CVE-2021-3569

    A stack corruption bug was found in libtpms in versions before 0.7.2 and before 0.8.0 while decrypting data using RSA. This flaw could result in a SIGBUS (bad memory access) and termination of swtpm. The highest threat from this vulnerability is to system availability.

    • Update to 0.8.2-1
    Published Updated
  11. CVE-2021-3505

    Medium · CVSS 5.5EPSS 0.4%Fix available

    CVE-2021-3505

    A flaw was found in libtpms in versions before 0.8.0. The TPM 2 implementation returns 2048 bit keys with ~1984 bit strength due to a bug in the TCG specification. The bug is in the key creation algorithm in RsaAdjustPrimeCandidate(), which is called before the prime number check. The highest threat from this vulnerability is to data confidentiality.

    • Update to 0.8.0~dev1-1
    Published Updated
  12. CVE-2021-3446

    Medium · CVSS 5.5EPSS 0.15%Fix available

    CVE-2021-3446

    A flaw was found in libtpms in versions before 0.8.2. The commonly used integration of libtpms with OpenSSL contained a vulnerability related to the returned IV (initialization vector) when certain symmetric ciphers were used. Instead of returning the last IV it returned the initial IV to the caller, thus weakening the subsequent encryption and decryption steps. The highest threat from this vulnerability is to data confidentiality.

    • Update to 0.8.2-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →