CVE-2023-22745

Severity: Moderate
Published: 2023-01-20

Fix Status by Distribution

Fixed in 10 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-27 00:00 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
AlmaLinux 10
Debian 11 (Bullseye)
Oracle Linux 10
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Rocky Linux 10
Rocky Linux 8
Rocky Linux 9
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP7
SUSE Linux Enterprise Server 16
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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.

Exploit evidence

Public proof of concept reported

Last checked: 2026-07-31 19:00 UTC

  • Proof of concept · CISA Coordinator (Assessed 2025-03-10 21:01 UTC)

  • Exploit reference · af854a3a-2127-422b-91ae-364da2661108 · View external evidence (Observed 2026-07-31 19:00 UTC)

NVD evidence for CVE-2023-22745 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.