VendorsLibtpms Projectlibtpmsall versions
Vulnerabilities

Libtpms Project Libtpms

Ranked by severity, then by exploit likelihood. Click a CVE ID for its full record.

7CVEs
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.
Published 2021-10-19 · Modified
7.1EPSS 0.010
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.
Published 2022-03-02 · Modified
6.1EPSS 0.003
CVE-2025-49133
Libtpms contains a possible out-of-bound access and abort due to HMAC signing issue
Published 2025-06-10 · Modified
5.9EPSS 0.002
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.
Published 2021-04-19 · Modified
5.5EPSS 0.004
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.
Published 2021-06-03 · Modified
5.5EPSS 0.003
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.
Published 2021-03-25 · Modified
5.5EPSS 0.001
CVE-2026-21444
libtpms returns wrong initialization vector when certain symmetric ciphers are used
Published 2026-01-02 · Analyzed
5.5EPSS 0.001