CVE-2021-3623
A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2021-3623- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - CVSS 2.0
- 3.6 Low
AV:L/AC:L/Au:N/C:P/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-3623- Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2021-26926 No score
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.
- Record
EUVD-2021-26926- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6527-9qhc-39j4
8.2
A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets...
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.
- Record
GHSA-6527-9qhc-39j4- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2021-3623- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-3623
6.1
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.
- Record
DEBIAN-CVE-2021-3623- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H - Updated
- 2026-11-02
Show 5 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 High
CVSS: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-3623
6.1
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.
- Record
UBUNTU-CVE-2021-3623- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/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-2024:12445-1 No score
libtpms-devel-0.9.3-2.1 on GA media
These are all security issues fixed in the libtpms-devel-0.9.3-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12445-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:4457-1 No score
Security update for libtpms
This update for libtpms fixes the following issues:
- CVE-2021-3623: Fixed out-of-bounds access when trying to resume the state of the vTPM (bsc#1187767)
- Record
SUSE-SU-2022:4457-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libtpmsDebian:12 |
before 0.9.1-1 | 0.9.1-1 |
libtpmsDebian:13 |
before 0.9.1-1 | 0.9.1-1 |
libtpmsDebian:14 |
before 0.9.1-1 | 0.9.1-1 |
libtpmsMageia:8 |
before 0.9.1-1.mga8 | 0.9.1-1.mga8 |
swtpmMageia:8 |
before 0.7.0-5.mga8 | 0.7.0-5.mga8 |
libtpmsopenEuler:20.03-LTS-SP1 |
before 0.7.3-7.oe1 | 0.7.3-7.oe1 |
libtpmsopenEuler:20.03-LTS-SP3 |
before 0.7.3-7.oe1 | 0.7.3-7.oe1 |
libtpmsopenEuler:22.03-LTS |
before 0.7.3-7.oe2203 | 0.7.3-7.oe2203 |
libtpmsSUSE:Linux Enterprise Micro 5.3 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
libtpmsSUSE:Linux Enterprise Module for Server Applications 15 SP3 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
Show 7 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libtpmsSUSE:Linux Enterprise Module for Server Applications 15 SP4 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
libtpmsSUSE:Linux Enterprise Micro 5.1 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
libtpmsSUSE:Linux Enterprise Micro 5.2 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
libtpmsopenSUSE:Leap Micro 5.2 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
libtpmsopenSUSE:Leap Micro 5.3 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
libtpmsopenSUSE:Leap 15.3 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
libtpmsopenSUSE:Leap 15.4 |
before 0.8.2-150300.3.6.1 | 0.8.2-150300.3.6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3623 is a medium vulnerability (CVSS 6.1) in Libtpms Project Libtpms, published December 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 25th percentile. Fixed in libtpms 0.9.1-1.
References
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7KZSYMTE7Z4BBEZUWO2DIMQDWMGEP46
bugzilla.redhat.com/show_bug.cgi?id=1976806
github.com/stefanberger/libtpms/pull/223
github.com/stefanberger/libtpms/commit/2f30d62
github.com/stefanberger/libtpms/commit/7981d9a
github.com/stefanberger/libtpms/commit/2e6173c
Show 22 moreShow less
nvd.nist.gov/vuln/detail/CVE-2021-3623
lists.fedoraproject.org/archives/list/[email protected]/message/Z7KZSYMTE7Z4BBEZUWO2DIMQDWMGEP46
github.com/advisories/GHSA-6527-9qhc-39j4
security-tracker.debian.org/tracker/CVE-2021-3623
advisories.mageia.org/MGASA-2021-0590.html
bugs.mageia.org/show_bug.cgi?id=28882
lists.fedoraproject.org/archives/list/[email protected]/message/NUCZX4S53TUNTSGTCRDNOQZV2V2RI4RJ
lists.fedoraproject.org/archives/list/[email protected]/thread/46YMIRHQHNKPCVNRVW4W27MFQQU7ZHHV
lists.fedoraproject.org/archives/list/[email protected]/thread/Z7KZSYMTE7Z4BBEZUWO2DIMQDWMGEP46
lists.fedoraproject.org/archives/list/[email protected]/thread/DZI42OR3JUEGWRKEVCOHL2FPTJVYCYBT
lists.fedoraproject.org/archives/list/[email protected]/thread/7UCZ7AV2UKWYYCNZ2NLLXW7QYCX7K337
lists.opensuse.org/archives/list/[email protected]/thread/75RD2O2OFCMWPCMY5QMSZRNV5PG5BTS6
lists.fedoraproject.org/archives/list/[email protected]/thread/YVJSXDXD44WDR4VA2XL33IZDJTBGRXP7
lists.fedoraproject.org/archives/list/[email protected]/thread/7E3B6T5RBDKAWETDTW3WPORY3NK5IR46
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1695
nvd.nist.gov/vuln/detail/CVE-2021-3746
suse.com/support/update/announcement/2022/suse-su-20224457-1
bugzilla.suse.com/1187767
bugzilla.suse.com/1204556
suse.com/security/cve/CVE-2021-3623
ubuntu.com/security/CVE-2021-3623
cve.org/CVERecord?id=CVE-2021-3623