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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libtpms | Fixed-In - libtpms 0.6.5, libtpms 0.7.8, libtpms 0.8.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libtpms | 0.9.1-1 | — |
| Debian 13 | libtpms | 0.9.1-1 | — |
| Debian 12 | libtpms | 0.9.1-1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
| SLES 15 SP3 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 5.3 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
| SLE Micro 5.2 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
| SLE Micro 5.1 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
| openSUSE Leap 15.3 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
| openSUSE Leap Micro 5.2 | libtpms | 0.8.2-150300.3.6.1 | SUSE-SU-2022:4457-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | libtpms +1 | 0.8.8-1.el7 | ELSA-2022-9240 |
| Oracle Linux 7 | swtpm +3 | 0.3.4-5.el7 | ELSA-2022-9240 |
Advisories 2
- SUSE-SU-2022:4457-1 Security update for libtpms SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2022-9240 Important: libtpms security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 22, 2022
References
- FEDORA-2021-465b5c3b67 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1976806
- https://github.com/stefanberger/libtpms/pull/223
- https://github.com/stefanberger/libtpms/commit/2f30d62
- https://github.com/stefanberger/libtpms/commit/7981d9a
- https://github.com/stefanberger/libtpms/commit/2e6173c