Every CVE Search/ Get API key

CVE-2021-3746

A flaw was found in the libtpms code that may cause access beyond the boundary of internal...

6.5 MediumFix available

CVE-2021-3746 is a medium vulnerability (CVSS 6.5) in Libtpms Project Libtpms, published September 9, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 61st percentile. Fixed in libtpms 0.9.1-1.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.97%Up 0.6 points since Oct 20, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2021-3746
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
7.1 HighAV:N/AC:M/Au:N/C:N/I:N/A:C
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-3746
Weakness
CWE-119
Updated
2026-11-02
EUVDEUVD-2021-27022 No score

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.

Record
EUVD-2021-27022
Updated
2026-11-03
GitHub AdvisoriesGHSA-9ffq-6fp7-34mv No score

A flaw was found in the libtpms code that may cause access beyond the boundary of internal...

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.

Record
GHSA-9ffq-6fp7-34mv
Weakness
CWE-119
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2021-3746
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-3746 6.5

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.

Record
DEBIAN-CVE-2021-3746
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 7 moreShow less
OSVOESA-2022-1695 8.2

libtpms security update

A library providing TPM functionality for VMs. Targeted for integration into Qemu.

Security Fix(es):

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.(CVE-2021-3746)

A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values and may lead to an out-of-bounds access when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read. The highest threat from this vulnerability is to system availability.(CVE-2021-3623)

Record
OESA-2022-1695
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-3746 6.5

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.

Record
UBUNTU-CVE-2021-3746
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2021-0590 No score

Updated libtpms/swtpm packages fix security vulnerability

CryptSym: fix AES output IV (CVE-2021-3505). Fixed a context save and suspend/resume problem when public keys are loaded. Reset too large size indicators in TPM2B to avoid access beyond buffer (CVE-2021-3623) Restore original value in buffer if unmarshalled one was illegal Fixed out-of-bounds access via specially crafted TPM 2 command packets (CVE-2021-3746) Marshal event sequence objects' hash state

Record
MGASA-2021-0590
Updated
2026-11-02
OSVopenSUSE-SU-2021:3004-1 No score

Security update for libtpms

This update for libtpms fixes the following issues:

  • CVE-2021-3746: Fixed out-of-bounds access via specially crafted TPM 2 command packets (bsc#1189935).
Record
openSUSE-SU-2021:3004-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11004-1 No score

libtpms-devel-0.8.4-2.2 on GA media

These are all security issues fixed in the libtpms-devel-0.8.4-2.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11004-1
Updated
2026-11-02
OSVSUSE-SU-2021:3004-1 No score

Security update for libtpms

This update for libtpms fixes the following issues:

  • CVE-2021-3746: Fixed out-of-bounds access via specially crafted TPM 2 command packets (bsc#1189935).
Record
SUSE-SU-2021:3004-1
Updated
2026-11-02
OSVSUSE-SU-2021:3004-2 No score

Security update for libtpms

This update for libtpms fixes the following issues:

  • CVE-2021-3746: Fixed out-of-bounds access via specially crafted TPM 2 command packets (bsc#1189935).
Record
SUSE-SU-2021:3004-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libtpms
Debian:12
before 0.9.1-1
0.9.1-1
libtpms
Debian:13
before 0.9.1-1
0.9.1-1
libtpms
Debian:14
before 0.9.1-1
0.9.1-1
libtpms
Mageia:8
before 0.9.1-1.mga8
0.9.1-1.mga8
swtpm
Mageia:8
before 0.7.0-5.mga8
0.7.0-5.mga8
libtpms
openEuler:20.03-LTS-SP1
before 0.7.3-7.oe1
0.7.3-7.oe1
libtpms
openEuler:20.03-LTS-SP3
before 0.7.3-7.oe1
0.7.3-7.oe1
libtpms
openEuler:22.03-LTS
before 0.7.3-7.oe2203
0.7.3-7.oe2203
libtpms
SUSE:Linux Enterprise Module for Server Applications 15 SP3
before 0.8.2-3.3.1
0.8.2-3.3.1
libtpms
SUSE:Linux Enterprise Micro 5.1
before 0.8.2-3.3.1
0.8.2-3.3.1
libtpms
openSUSE:Leap 15.3
before 0.8.2-3.3.1
0.8.2-3.3.1

History

History
WhenChangedSources
2026-11-03affected
2026-11-03aliases, productsEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 18 moreShow less
MoveEnter Open