Vulnerability · Published Oct 19, 2021 · Assigned by redhat

CVE-2021-3746

Medium 6.5

In plain English

A medium-severity memory corruption in libtpms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.0%top 38.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libtpms0.9.1-1DEBIAN-CVE-2021-3746
Debian:13libtpms0.9.1-1DEBIAN-CVE-2021-3746
Debian:14libtpms0.9.1-1DEBIAN-CVE-2021-3746
Ubuntu:22.04:LTSlibtpms0.9.3-0ubuntu1UBUNTU-CVE-2021-3746

Affected products (as reported)

VendorProductVersions
n/a libtpms libtpms 0.8.5, libtpms 0.7.9, libtpms 0.6.6

Weakness: CWE-119

References