CVE-2021-3505Libtpms Project Libtpms
Medium 5.5
Follow: this CVE · Libtpms Project · Libtpms Project Libtpms We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Libtpms.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libtpms_project | libtpms | < 0.8.0 |
| redhat | enterprise_linux | 8.0 |
| fedoraproject | fedora | 33 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- lists.fedoraproject.org