Description
tpm2-tss is an open source software implementation of the Trusted Computing Group (TCG) Trusted Platform Module (TPM) 2 Software Stack (TSS2). In versions prior to 4.1.0-rc0, 4.0.1, and 3.2.2-rc1, `Tss2_RC_SetHandler` and `Tss2_RC_Decode` both index into `layer_handler` with an 8 bit layer number, but the array only has `TPM2_ERROR_TSS2_RC_LAYER_COUNT` entries, so trying to add a handler for higher-numbered layers or decode a response code with such a layer number reads/writes past the end of the buffer. This Buffer overrun, could result in arbitrary code execution. An example attack would be a MiTM bus attack that returns 0xFFFFFFFF for the RC. Given the common use case of TPM modules an attacker must have local access to the target machine with local system privileges which allows access to the TPM system. Usually TPM access requires administrative privilege. Versions 4.1.0-rc0, 4.0.1, and 3.2.2-rc1 fix the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| tpm2-software | tpm2-tss | < 4.0.1, < 3.2.2-rc0 | — |
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 | tpm2-tss | 3.2.1-3 | — |
| Debian 13 | tpm2-tss | 3.2.1-3 | — |
| Debian 12 | tpm2-tss | 3.2.1-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | tpm2-tss | 4.0.1-7.1ubuntu5.1 | USN-6796-1 |
| Ubuntu 22.04 LTS | tpm2-tss | 3.2.0-1ubuntu1.1 | USN-6796-1 |
| Ubuntu 20.04 LTS | tpm2-tss | 2.3.2-1ubuntu0.20.04.2 | USN-6796-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | tpm2-tss +1 | 3.2.2-2.el9 | RHSA-2023:6685 |
| RHEL 8 | tpm2-tss +1 | 2.3.2-5.el8 | RHSA-2023:7166 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.8 EUS | tpm2-tss +1 | 2.3.2-5.el8_8 | RHSA-2024:4739 |
| RHEL 8.6 TUS | tpm2-tss +1 | 2.3.2-5.el8_6 | RHSA-2024:4408 |
| RHEL 8.6 E4S | tpm2-tss +1 | 2.3.2-5.el8_6 | RHSA-2024:4408 |
| RHEL 8.6 AUS | tpm2-tss +1 | 2.3.2-5.el8_6 | RHSA-2024:4408 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | tpm2-tss +1 | 3.2.2-2.el9 | ALSA-2023:6685 |
| AlmaLinux 8 | tpm2-tss +1 | 2.3.2-5.el8 | ALSA-2023:7166 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | tpm2-0-tss | 3.1.0-150400.3.3.1 | SUSE-SU-2023:0526-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Real Time 15 SP3 | tpm2-0-tss | 2.4.5-150300.3.6.1 | SUSE-SU-2023:0613-1 |
| SLE Micro 5.3 | tpm2-0-tss | 3.1.0-150400.3.3.1 | SUSE-SU-2023:0526-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | tpm2-0-tss | 2.4.5-150300.3.6.1 | SUSE-SU-2023:0613-1, SUSE-SU-2023:0526-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.3 | tpm2-0-tss | 3.1.0-150400.3.3.1 | SUSE-SU-2023:0526-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | tpm2-tss +1 | 3.1.0-1.amzn2023.0.3 | ALAS2023-2023-110 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | tpm2-tss | 4.0.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | tpm2-tss | 2.4.6-2 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | tpm2-tss +1 | 3.2.2-2.el9 | ELSA-2023-6685 |
| Oracle Linux 8 | tpm2-tss +1 | 2.3.2-5.el8 | ELSA-2023-7166 |
Advisories 19
- WID-SEC-2023-2853 Red Hat Enterprise Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- ALSA-2023:6685 Low: tpm2-tss security and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:7166 Low: tpm2-tss security and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:4739 Red Hat Security Advisory: tpm2-tss security update Red Hat Security Advisories (RHSA) · Jul 3, 2026
- RHSA-2024:4408 Red Hat Security Advisory: tpm2-tss security update Red Hat Security Advisories (RHSA) · Jul 3, 2026
- RHSA-2023:7166 Red Hat Security Advisory: tpm2-tss security and enhancement update Red Hat Security Advisories (RHSA) · Jul 3, 2026
- RHSA-2023:6685 Red Hat Security Advisory: tpm2-tss security and enhancement update Red Hat Security Advisories (RHSA) · Jul 3, 2026
- WID-SEC-2026-0778 Dell Secure Connect Gateway Policy Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- USN-6796-1 tpm2-tss vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2023:0526-1 Security update for tpm2-0-tss SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0613-1 Security update for tpm2-0-tss SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-3377 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- WID-SEC-2024-1307 Red Hat OpenShift Service Mesh Containers: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2025
- WID-SEC-2024-2100 IBM Power Hardware Management Console: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 10, 2024
- SSA-806742 SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4 Siemens ProductCERT · Feb 13, 2024
- ICSA-24-046-11 Siemens SCALANCE XCM-/XRM-300 CISA ICS & IT advisories · Feb 13, 2024
- ELSA-2023-7166 Low: tpm2-tss security and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 17, 2023
- ELSA-2023-6685 Low: tpm2-tss security and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- ALAS2023-2023-110 Low: tpm2-tss security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
References
- https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-4j3v-fh23-vx67
- https://github.com/tpm2-software/tpm2-tss/commit/306490c8d848c367faa2d9df81f5e69dab46ffb5
- https://github.com/tpm2-software/tpm2-tss/commit/49107d65d5c7be430671398416bbd89dae4e34e7
- https://github.com/tpm2-software/tpm2-tss/commit/7ab42953216adec046d000a5e3085f3ee5e9cabf