CVE catalog

CVE-2023-22745

TPM2 Software Stack vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.4CVSS: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.

DistributionPackageReleaseVersionStatus
Debiantpm2-tsssid4.2.0-2fixed
Debiantpm2-tssforky4.2.0-2fixed
Debiantpm2-tsstrixie4.1.3-1.2fixed
Debiantpm2-tssbookworm3.2.1-3fixed
Ubuntutpm2-tssnoble3.2.1-3fixed
Ubuntutpm2-tssnoble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-devnoble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-docnoble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-esys-3.0.2-0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-fapi1t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-mu-4.0.1-0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-policy0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-rc0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-sys1t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tcti-cmd0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tcti-device0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tcti-libtpms0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tcti-mssim0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tcti-pcap0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tcti-spi-helper0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tcti-swtpm0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntulibtss2-tctildr0t64noble4.0.1-7.1ubuntu5.1fixed
Ubuntutpm2-tss20.042.1.0-4vulnerable
Ubuntutpm2-tss20.042.3.1-3vulnerable
Ubuntutpm2-tss20.042.3.2-1vulnerable
Ubuntutpm2-tss20.042.3.2-1ubuntu0.20.04.1vulnerable
Ubuntutpm2-tss20.042.3.2-1ubuntu0.20.04.2fixed
Ubuntutpm2-tss22.043.0.3-2ubuntu1vulnerable
Ubuntutpm2-tss22.043.0.3-2ubuntu2vulnerable
Ubuntutpm2-tss22.043.1.0-3ubuntu1vulnerable
Ubuntutpm2-tss22.043.2.0-0ubuntu2vulnerable
Ubuntutpm2-tss22.043.2.0-1ubuntu1vulnerable
Ubuntutpm2-tss22.043.2.0-1ubuntu1.1fixed
Ubuntutpm2-tss24.044.0.1-3ubuntu1vulnerable
Ubuntutpm2-tss24.044.0.1-6ubuntu1vulnerable
Ubuntutpm2-tss24.044.0.1-7ubuntu1vulnerable
Ubuntutpm2-tss24.044.0.1-7.1ubuntu4vulnerable
Ubuntutpm2-tss24.044.0.1-7.1ubuntu5vulnerable
Ubuntutpm2-tss24.044.0.1-7.1ubuntu5.1fixed
Ubuntutpm2-tss20.042.1.0-4vulnerable
Ubuntutpm2-tss20.042.3.1-3vulnerable
Ubuntutpm2-tss20.042.3.2-1vulnerable
Ubuntutpm2-tss20.042.3.2-1ubuntu0.20.04.1vulnerable
Ubuntutpm2-tss20.042.3.2-1ubuntu0.20.04.2fixed
Ubuntutpm2-tss22.043.0.3-2ubuntu1vulnerable
Ubuntutpm2-tss22.043.0.3-2ubuntu2vulnerable
Ubuntutpm2-tss22.043.1.0-3ubuntu1vulnerable
Ubuntutpm2-tss22.043.2.0-0ubuntu2vulnerable
Ubuntutpm2-tss22.043.2.0-1ubuntu1vulnerable
Ubuntutpm2-tss22.043.2.0-1ubuntu1.1fixed
Susetpm2-0-tsslinux enterprise micro 5.33.1.0-150400.3.3.1fixed
Susetpm2-0-tsslinux enterprise module for basesystem 15 sp43.1.0-150400.3.3.1fixed
Opensusetpm2-0-tssleap micro 5.33.1.0-150400.3.3.1fixed
Opensusetpm2-0-tssleap 15.43.1.0-150400.3.3.1fixed
Susetpm2-0-tsslinux enterprise real time 15 sp32.4.5-150300.3.6.1fixed
Opensusetpm2-0-tssleap 15.42.4.5-150300.3.6.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantpm2-tsssourcesid3.2.1-3not yet assignedNot reported[1029369]
Debiantpm2-tsssourceforky3.2.1-3not yet assignedNot reported[1029369]
Debiantpm2-tsssourcetrixie3.2.1-3not yet assignedNot reported[1029369]
Debiantpm2-tsssourcebookworm3.2.1-3not yet assignedNot reported[1029369]
Ubuntutpm2-tssdebnoble3.2.1-3Not reportedNot reportedNot reported
Ubuntutpm2-tssdebnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-devdebnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-docdebnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-esys-3.0.2-0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-fapi1t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-mu-4.0.1-0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-policy0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-rc0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-sys1t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tcti-cmd0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tcti-device0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tcti-libtpms0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tcti-mssim0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tcti-pcap0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tcti-spi-helper0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tcti-swtpm0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntulibtss2-tctildr0t64debnoble4.0.1-7.1ubuntu5.1Not reportedNot reportedNot reported
Ubuntutpm2-tssdeb20.042.3.2-1ubuntu0.20.04.2Not reportedUSN-6796-1Not reported
Ubuntutpm2-tssdeb22.043.2.0-1ubuntu1.1Not reportedUSN-6796-1Not reported
Ubuntutpm2-tssdeb24.044.0.1-7.1ubuntu5.1Not reportedUSN-6796-1Not reported
Ubuntutpm2-tssdeb20.042.3.2-1ubuntu0.20.04.2Not reportedUBUNTU-CVE-2023-22745Not reported
Ubuntutpm2-tssdeb22.043.2.0-1ubuntu1.1Not reportedUBUNTU-CVE-2023-22745Not reported
Susetpm2-0-tssrpmlinux enterprise micro 5.33.1.0-150400.3.3.1Not reportedSUSE-SU-2023:0526-1Not reported
Susetpm2-0-tssrpmlinux enterprise module for basesystem 15 sp43.1.0-150400.3.3.1Not reportedSUSE-SU-2023:0526-1Not reported
Opensusetpm2-0-tssrpmleap micro 5.33.1.0-150400.3.3.1Not reportedSUSE-SU-2023:0526-1Not reported
Opensusetpm2-0-tssrpmleap 15.43.1.0-150400.3.3.1Not reportedSUSE-SU-2023:0526-1Not reported
Susetpm2-0-tssrpmlinux enterprise real time 15 sp32.4.5-150300.3.6.1Not reportedSUSE-SU-2023:0613-1Not reported
Opensusetpm2-0-tssrpmleap 15.42.4.5-150300.3.6.1Not reportedSUSE-SU-2023:0613-1Not reported

[Debian bug #1029369]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References