CVE-2022-23645
published medium CVSS 3.1 · 6.2Out-of-bounds read in swtpm
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| stefanberger | — | swtpm< 0.5.3 · >= 0.6.0, < 0.6.2 · = 0.7.0 | Affected | Not stated | GitHub_M |
| AlmaLinux | 9 | swtpm | Advisory build | 0.7.0-3.20211109gitb79fd91.el9 | ALSA-2022:8100 |
| Oracle Linux | 7 | swtpmx86_64 | Advisory build | 0:0.3.4-5.el7 | ELSA-2022-9240 |
| Red Hat Enterprise Linux | RHEL-8 | swtpmaarch64 | Advisory build | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| SUSE / openSUSE | SLE-15-SP3 | swtpmaarch64 | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| Oracle Linux | 8 | swtpmaarch64 · virt · ol is enabled | Advisory build | 0:0.7.0-4.20211109gitb79fd91.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | swtpmx86_64 · virt · ol is enabled | Advisory build | 0:0.7.0-4.20211109gitb79fd91.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 9 | swtpmaarch64 | Advisory build | 0:0.7.0-3.20211109gitb79fd91.el9 | ELSA-2022-8100 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 9 | swtpmx86_64 | Advisory build | 0:0.7.0-3.20211109gitb79fd91.el9 | ELSA-2022-8100 |
| Red Hat Enterprise Linux | RHEL-8 | swtpmppc64le | Advisory build | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| Red Hat Enterprise Linux | RHEL-8 | swtpms390x | Advisory build | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| Red Hat Enterprise Linux | RHEL-8 | swtpmsrc | Advisory build | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| Red Hat Enterprise Linux | RHEL-8 | swtpmx86_64 | Advisory build | 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2 | RHSA-2022:7472 |
| Red Hat Enterprise Linux | RHEL-9 | swtpmaarch64 | Advisory build | 0.7.0-3.20211109gitb79fd91.el9 | RHSA-2022:8100 |
| Red Hat Enterprise Linux | RHEL-9 | swtpms390x | Advisory build | 0.7.0-3.20211109gitb79fd91.el9 | RHSA-2022:8100 |
| Red Hat Enterprise Linux | RHEL-9 | swtpmsrc | Advisory build | 0.7.0-3.20211109gitb79fd91.el9 | RHSA-2022:8100 |
| Red Hat Enterprise Linux | RHEL-9 | swtpmx86_64 | Advisory build | 0.7.0-3.20211109gitb79fd91.el9 | RHSA-2022:8100 |
| SUSE / openSUSE | SLE-15-SP3 | swtpmppc64le | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | SLE-15-SP3 | swtpms390x | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | SLE-15-SP3 | swtpmx86_64 | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | SLE-5 | swtpmaarch64 | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | SLE-5 | swtpms390x | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | SLE-5 | swtpmx86_64 | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | swtpmaarch64 | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | swtpmppc64le | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | swtpms390x | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | swtpmx86_64 | Advisory build | 0.5.3-150300.3.3.1 | SUSE-SU-2022:1297-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | swtpmaarch64 | Advisory build | 0.7.1-1.1 | OPENSUSE-SU-2024:11870-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | swtpmppc64le | Advisory build | 0.7.1-1.1 | OPENSUSE-SU-2024:11870-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | swtpms390x | Advisory build | 0.7.1-1.1 | OPENSUSE-SU-2024:11870-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | swtpmx86_64 | Advisory build | 0.7.1-1.1 | OPENSUSE-SU-2024:11870-1 |
| AlmaLinux | 9 | swtpm-libs | Advisory build | 0.7.0-3.20211109gitb79fd91.el9 | ALSA-2022:8100 |
| AlmaLinux | 9 | swtpm-tools | Advisory build | 0.7.0-3.20211109gitb79fd91.el9 | ALSA-2022:8100 |
| Oracle Linux | 7 | libtpmsx86_64 | Advisory build | 0:0.8.8-1.el7 | ELSA-2022-9240 |
| Oracle Linux | 7 | libtpms-develx86_64 | Advisory build | 0:0.8.8-1.el7 | ELSA-2022-9240 |
| Oracle Linux | 7 | swtpm-develx86_64 | Advisory build | 0:0.3.4-5.el7 | ELSA-2022-9240 |
| Oracle Linux | 7 | swtpm-libsx86_64 | Advisory build | 0:0.3.4-5.el7 | ELSA-2022-9240 |
| Oracle Linux | 7 | swtpm-toolsx86_64 | Advisory build | 0:0.3.4-5.el7 | ELSA-2022-9240 |
| Oracle Linux | 8 | hivexaarch64 · virt-devel · ol is enabled | Advisory build | 0:1.3.18-23.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | hivexx86_64 · virt-devel · ol is enabled | Advisory build | 0:1.3.18-23.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | hivex-develaarch64 · virt-devel · ol is enabled | Advisory build | 0:1.3.18-23.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | hivex-develx86_64 · virt-devel · ol is enabled | Advisory build | 0:1.3.18-23.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfsaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfsx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-applianceaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-appliancex86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-bash-completionaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-bash-completionx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-develaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-develx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-gfs2aarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-gfs2x86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-gobjectaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-gobjectx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-gobject-develaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-gobject-develx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-inspect-iconsaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-inspect-iconsx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-javaaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-javax86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-java-develaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-java-develx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-javadocaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-javadocx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-man-pages-jaaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-man-pages-jax86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-man-pages-ukaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-man-pages-ukx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-rescueaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-rescuex86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-rsyncaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-rsyncx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-toolsaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-toolsx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-tools-caarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-tools-cx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-winsupportaarch64 · virt-devel · ol is enabled | Advisory build | 0:8.6-1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-winsupportx86_64 · virt-devel · ol is enabled | Advisory build | 0:8.6-1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-xfsaarch64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libguestfs-xfsx86_64 · virt · ol is enabled | Advisory build | 1:1.44.0-9.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libiscsiaarch64 · virt-devel · ol is enabled | Advisory build | 0:1.18.0-8.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libiscsix86_64 · virt-devel · ol is enabled | Advisory build | 0:1.18.0-8.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libiscsi-develaarch64 · virt-devel · ol is enabled | Advisory build | 0:1.18.0-8.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libiscsi-develx86_64 · virt-devel · ol is enabled | Advisory build | 0:1.18.0-8.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libiscsi-utilsaarch64 · virt-devel · ol is enabled | Advisory build | 0:1.18.0-8.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libiscsi-utilsx86_64 · virt-devel · ol is enabled | Advisory build | 0:1.18.0-8.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libnbdaarch64 · virt-devel · ol is enabled | Advisory build | 0:1.6.0-5.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libnbdx86_64 · virt-devel · ol is enabled | Advisory build | 0:1.6.0-5.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libnbd-bash-completionaarch64 · virt · ol is enabled | Advisory build | 0:1.6.0-5.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libnbd-bash-completionx86_64 · virt · ol is enabled | Advisory build | 0:1.6.0-5.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libnbd-develaarch64 · virt-devel · ol is enabled | Advisory build | 0:1.6.0-5.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libnbd-develx86_64 · virt-devel · ol is enabled | Advisory build | 0:1.6.0-5.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libtpmsaarch64 · virt · ol is enabled | Advisory build | 0:0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libtpmsx86_64 · virt · ol is enabled | Advisory build | 0:0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libtpms-develaarch64 · virt · ol is enabled | Advisory build | 0:0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libtpms-develx86_64 · virt · ol is enabled | Advisory build | 0:0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libvirtaarch64 · virt-devel · ol is enabled | Advisory build | 0:8.0.0-10.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libvirtx86_64 · virt-devel · ol is enabled | Advisory build | 0:8.0.0-10.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libvirt-clientaarch64 · virt-devel · ol is enabled | Advisory build | 0:8.0.0-10.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libvirt-clientx86_64 · virt-devel · ol is enabled | Advisory build | 0:8.0.0-10.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
| Oracle Linux | 8 | libvirt-daemonaarch64 · virt-devel · ol is enabled | Advisory build | 0:8.0.0-10.0.1.module+el8.7.0+20875+5dd40464 | ELSA-2022-7472 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.2 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| stefanberger | swtpm | < 0.5.3 (affected)>= 0.6.0, < 0.6.2 (affected)= 0.7.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-125 CWE-125: Out-of-bounds Read
References
6- https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19
- https://github.com/stefanberger/swtpm/releases/tag/v0.5.3
- https://github.com/stefanberger/swtpm/releases/tag/v0.6.2
- https://github.com/stefanberger/swtpm/releases/tag/v0.7.1
- https://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw
- FEDORA-2022-12443a525c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WL735FW266GO4C2JX4CJBOIOB7R7AY5A/
Provider assertions
3GitHub_M · cna
Out-of-bounds read in swtpm
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d4a346a2c1bf573a0ed9f9ae2b7a94c7491ed6741ab18fff4210343f33e411fa
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record