What’s Vulnerable › Vulnerabilities
CVE-2021-3746
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-10-19 · updated 2026-06-17
- Weakness: CWE-119
Description
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.
Affected products
- Fedoraproject Fedora: 34
- stefanberger libtpms: from 0.6.0 before 0.6.6; from 0.7.0 before 0.7.9; from 0.8.0 before 0.8.5 — fixed in 0.6.6, 0.7.9, 0.8.5
- Red Hat Enterprise Linux: 8.0
How to fix
Upgrade to a fixed version: stefanberger libtpms 0.6.6, 0.7.9, 0.8.5. Check the vendor advisory for mitigations.
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1998588
- https://bugzilla.redhat.com/show_bug.cgi?id=1998588
Get alerted when CVE-2021-3746 or the next vulnerability affects your stack