# CVE-2021-3623: A flaw was found in libtpms.

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2022-03-02T22:02:36.000Z
- Modified: 2026-06-17T04:05:27.637Z
- Weaknesses: CWE-787
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- libtpms: Fixed-In - libtpms 0.6.5, libtpms 0.7.8, libtpms 0.8.4
- libtpms_project libtpms: before 0.6.5; from 0.7.0 before 0.7.8; from 0.8.0 before 0.8.4
- redhat enterprise_linux: 8.0
- fedoraproject fedora: 34

## Every score

- NVD: 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`
- NVD: CVSS:2.0 3.6 Low `AV:L/AC:L/Au:N/C:P/I:N/A:P`

## References

- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z7KZSYMTE7Z4BBEZUWO2DIMQDWMGEP46/> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1976806> (issue-tracking, patch, third-party-advisory)
- <https://github.com/stefanberger/libtpms/pull/223> (issue-tracking, third-party-advisory)
- <https://github.com/stefanberger/libtpms/commit/2f30d62> (patch, third-party-advisory)
- <https://github.com/stefanberger/libtpms/commit/7981d9a> (patch, third-party-advisory)
- <https://github.com/stefanberger/libtpms/commit/2e6173c> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3623](https://www.cve.org/CVERecord?id=CVE-2021-3623), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3623](https://nvd.nist.gov/vuln/detail/CVE-2021-3623), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3623 · Whole record: https://cve.day/CVE-2021-3623.json · Rebuilt by cve.day 2026-11-25T22:58:07.100Z
