CVE-2021-3505: Fedoraproject Fedora
Medium severity, CVSS 5.5. EPSS: 0.4% chance of exploitation in the next 30 days.
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.
Affected products
- Fedoraproject Fedora: version 33 only
- Libtpms Project Libtpms: before 0.8.0 (fixed in 0.8.0)
- Red Hat Enterprise Linux: version 8.0 only
Published 2021-04-19. Last modified 2026-06-17.