Live threats

All CVEs / Libtpms Project

CVE-2021-3505Libtpms Project Libtpms

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 26
Auth required
Yes
Published
Apr 19, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-331
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libtpms.

Affected products (CPE)

VendorProductVersions
libtpms_projectlibtpms< 0.8.0
redhatenterprise_linux8.0
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.