
CVE catalog
CVE-2023-22745
TPM2 Software Stack vulnerabilities
- Severity
- Medium · CVSS 6.4
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.52% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tpm2-tss | sid | 4.2.0-2 | fixed |
| Debian | tpm2-tss | forky | 4.2.0-2 | fixed |
| Debian | tpm2-tss | trixie | 4.1.3-1.2 | fixed |
| Debian | tpm2-tss | bookworm | 3.2.1-3 | fixed |
| Ubuntu | tpm2-tss | noble | 3.2.1-3 | fixed |
| Ubuntu | tpm2-tss | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-dev | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-doc | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-esys-3.0.2-0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-fapi1t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-mu-4.0.1-0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-policy0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-rc0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-sys1t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tcti-cmd0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tcti-device0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tcti-libtpms0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tcti-mssim0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tcti-pcap0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tcti-spi-helper0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tcti-swtpm0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | libtss2-tctildr0t64 | noble | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | tpm2-tss | 20.04 | 2.1.0-4 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.1-3 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.2-1 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.2-1ubuntu0.20.04.1 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.2-1ubuntu0.20.04.2 | fixed |
| Ubuntu | tpm2-tss | 22.04 | 3.0.3-2ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.0.3-2ubuntu2 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.1.0-3ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.2.0-0ubuntu2 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.2.0-1ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.2.0-1ubuntu1.1 | fixed |
| Ubuntu | tpm2-tss | 24.04 | 4.0.1-3ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 24.04 | 4.0.1-6ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 24.04 | 4.0.1-7ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 24.04 | 4.0.1-7.1ubuntu4 | vulnerable |
| Ubuntu | tpm2-tss | 24.04 | 4.0.1-7.1ubuntu5 | vulnerable |
| Ubuntu | tpm2-tss | 24.04 | 4.0.1-7.1ubuntu5.1 | fixed |
| Ubuntu | tpm2-tss | 20.04 | 2.1.0-4 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.1-3 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.2-1 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.2-1ubuntu0.20.04.1 | vulnerable |
| Ubuntu | tpm2-tss | 20.04 | 2.3.2-1ubuntu0.20.04.2 | fixed |
| Ubuntu | tpm2-tss | 22.04 | 3.0.3-2ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.0.3-2ubuntu2 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.1.0-3ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.2.0-0ubuntu2 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.2.0-1ubuntu1 | vulnerable |
| Ubuntu | tpm2-tss | 22.04 | 3.2.0-1ubuntu1.1 | fixed |
| Suse | tpm2-0-tss | linux enterprise micro 5.3 | 3.1.0-150400.3.3.1 | fixed |
| Suse | tpm2-0-tss | linux enterprise module for basesystem 15 sp4 | 3.1.0-150400.3.3.1 | fixed |
| Opensuse | tpm2-0-tss | leap micro 5.3 | 3.1.0-150400.3.3.1 | fixed |
| Opensuse | tpm2-0-tss | leap 15.4 | 3.1.0-150400.3.3.1 | fixed |
| Suse | tpm2-0-tss | linux enterprise real time 15 sp3 | 2.4.5-150300.3.6.1 | fixed |
| Opensuse | tpm2-0-tss | leap 15.4 | 2.4.5-150300.3.6.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tpm2-tss | source | sid | 3.2.1-3 | not yet assigned | Not reported | [1029369] |
| Debian | tpm2-tss | source | forky | 3.2.1-3 | not yet assigned | Not reported | [1029369] |
| Debian | tpm2-tss | source | trixie | 3.2.1-3 | not yet assigned | Not reported | [1029369] |
| Debian | tpm2-tss | source | bookworm | 3.2.1-3 | not yet assigned | Not reported | [1029369] |
| Ubuntu | tpm2-tss | deb | noble | 3.2.1-3 | Not reported | Not reported | Not reported |
| Ubuntu | tpm2-tss | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-dev | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-doc | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-esys-3.0.2-0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-fapi1t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-mu-4.0.1-0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-policy0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-rc0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-sys1t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tcti-cmd0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tcti-device0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tcti-libtpms0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tcti-mssim0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tcti-pcap0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tcti-spi-helper0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tcti-swtpm0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | libtss2-tctildr0t64 | deb | noble | 4.0.1-7.1ubuntu5.1 | Not reported | Not reported | Not reported |
| Ubuntu | tpm2-tss | deb | 20.04 | 2.3.2-1ubuntu0.20.04.2 | Not reported | USN-6796-1 | Not reported |
| Ubuntu | tpm2-tss | deb | 22.04 | 3.2.0-1ubuntu1.1 | Not reported | USN-6796-1 | Not reported |
| Ubuntu | tpm2-tss | deb | 24.04 | 4.0.1-7.1ubuntu5.1 | Not reported | USN-6796-1 | Not reported |
| Ubuntu | tpm2-tss | deb | 20.04 | 2.3.2-1ubuntu0.20.04.2 | Not reported | UBUNTU-CVE-2023-22745 | Not reported |
| Ubuntu | tpm2-tss | deb | 22.04 | 3.2.0-1ubuntu1.1 | Not reported | UBUNTU-CVE-2023-22745 | Not reported |
| Suse | tpm2-0-tss | rpm | linux enterprise micro 5.3 | 3.1.0-150400.3.3.1 | Not reported | SUSE-SU-2023:0526-1 | Not reported |
| Suse | tpm2-0-tss | rpm | linux enterprise module for basesystem 15 sp4 | 3.1.0-150400.3.3.1 | Not reported | SUSE-SU-2023:0526-1 | Not reported |
| Opensuse | tpm2-0-tss | rpm | leap micro 5.3 | 3.1.0-150400.3.3.1 | Not reported | SUSE-SU-2023:0526-1 | Not reported |
| Opensuse | tpm2-0-tss | rpm | leap 15.4 | 3.1.0-150400.3.3.1 | Not reported | SUSE-SU-2023:0526-1 | Not reported |
| Suse | tpm2-0-tss | rpm | linux enterprise real time 15 sp3 | 2.4.5-150300.3.6.1 | Not reported | SUSE-SU-2023:0613-1 | Not reported |
| Opensuse | tpm2-0-tss | rpm | leap 15.4 | 2.4.5-150300.3.6.1 | Not reported | SUSE-SU-2023:0613-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-806742.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_7166.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-22745]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0526-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:0613-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-22745]
- [https://osv.dev/vulnerability/USN-6796-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-22745]
- [https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-22745.json]
- [https://ubuntu.com/security/notices/USN-6796-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0778.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]