
CVE catalog
CVE-2022-23645
swtpm: CVE-2022-23645
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
swtpm is a libtpms-based TPM emulator with socket, character device, and Linux CUSE interface. Versions prior to 0.5.3, 0.6.2, and 0.7.1 are vulnerable to out-of-bounds read. A specially crafted header of swtpm's state, where the blobheader's hdrsize indicator has an invalid value, may cause an out-of-bounds access when the byte array representing the state of the TPM is accessed. This will likely crash swtpm or prevent it from starting since the state cannot be understood. Users should upgrade to swtpm v0.5.3, v0.6.2, or v0.7.1 to receive a patch. There are currently no known workarounds.
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 | swtpm | sid | 0.10.2-2 | fixed |
| Debian | swtpm | forky | 0.10.2-2 | fixed |
| Debian | swtpm | trixie | 0.7.1-1.5 | fixed |
| Debian | swtpm | bookworm | 0.7.1-1.3 | fixed |
| Suse | swtpm | linux enterprise module for server applications 15 sp3 | 0.5.3-150300.3.3.1 | fixed |
| Suse | swtpm | linux enterprise micro 5.1 | 0.5.3-150300.3.3.1 | fixed |
| Opensuse | swtpm | leap 15.3 | 0.5.3-150300.3.3.1 | fixed |
| Opensuse | swtpm | tumbleweed | 0.7.1-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | swtpm | source | sid | 0.7.1-1 | not yet assigned | Not reported | Not reported |
| Debian | swtpm | source | forky | 0.7.1-1 | not yet assigned | Not reported | Not reported |
| Debian | swtpm | source | trixie | 0.7.1-1 | not yet assigned | Not reported | Not reported |
| Debian | swtpm | source | bookworm | 0.7.1-1 | not yet assigned | Not reported | Not reported |
| Suse | swtpm | rpm | linux enterprise module for server applications 15 sp3 | 0.5.3-150300.3.3.1 | Not reported | SUSE-SU-2022:1297-1 | Not reported |
| Suse | swtpm | rpm | linux enterprise micro 5.1 | 0.5.3-150300.3.3.1 | Not reported | SUSE-SU-2022:1297-1 | Not reported |
| Opensuse | swtpm | rpm | leap 15.3 | 0.5.3-150300.3.3.1 | Not reported | SUSE-SU-2022:1297-1 | Not reported |
| Opensuse | swtpm | rpm | tumbleweed | 0.7.1-1.1 | Not reported | OPENSUSE-SU-2024:11870-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [swtpm-devel]Unknown
Source package: [swtpm]
Details (1)
0.10.2-1.1· x86_64 · tumbleweedUnknown · Fixed:
0.7.1-1.1Version impact unknown
dsa · swtpm · opensuse · tumbleweed
- [swtpm-selinux]Unknown
Source package: [swtpm]
Details (1)
0.10.2-1.1· noarch · tumbleweedUnknown · Fixed:
0.7.1-1.1Version impact unknown
dsa · swtpm · opensuse · tumbleweed
- [swtpm]Fixed
Source package: [swtpm]
Details (1)
0.10.2-1.1· x86_64 · tumbleweedFixed · Fixed:
0.7.1-1.1dsa · swtpm · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [swtpm]Fixed
Details (2)
0.7.1-1.3· amd64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
0.7.1-1.3· arm64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
- [swtpm-dev]Fixed
Source package: [swtpm]
Details (2)
0.7.1-1.3· amd64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
0.7.1-1.3· arm64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
- [swtpm-libs]Fixed
Source package: [swtpm]
Details (2)
0.7.1-1.3· amd64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
0.7.1-1.3· arm64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
- [swtpm-tools]Fixed
Source package: [swtpm]
Details (2)
0.7.1-1.3· amd64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
0.7.1-1.3· arm64 · bookwormFixed · Fixed:
0.7.1-1dsa · swtpm · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/essa-2022_0193.json]
- [https://osv.dev/vulnerability/SUSE-SU-2022:1297-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-23645]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11870-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-23645]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-23645.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-2052.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]