6.2

CVE-2022-23645: Out-of-bounds read in swtpm

Modified
AliasesMGASA-2022-0112SUSE-SU-2022:1297-1RHSA-2022:8100
Published 18-02-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-23645 is a medium (CVSS 6.2) Out-of-bounds Read vulnerability in fedoraproject fedora. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.2/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 18-02-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.40% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat8 products
  • enterprise_linux8.0
  • swtpm< 0:0.7.0-3.20211109gitb79fd91.el9
  • swtpm-debuginfo< 0:0.7.0-3.20211109gitb79fd91.el9
  • swtpm-debugsource< 0:0.7.0-3.20211109gitb79fd91.el9
  • swtpm-libs< 0:0.7.0-3.20211109gitb79fd91.el9
Opensuse2 products
  • swtpm&distro=openSUSE Leap 15.3< 0.5.3-150300.3.3.1
  • swtpm&distro=openSUSE Tumbleweed< 0.7.1-1.1
Suse2 products
  • swtpm&distro=SUSE Linux Enterprise Micro 5.1< 0.5.3-150300.3.3.1
  • swtpm&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3< 0.5.3-150300.3.3.1
Debian1 product
  • swtpm< 0.7.1-1
Fedoraproject1 product
Mageia1 product
  • swtpm< 0.7.1-1.mga8
Stefanberger1 product
  • swtpm< 0.5.3 | ≥ 0.6.0, < 0.6.2 | = 0.7.0
Swtpm_project1 product
  • swtpm< 0.5.3 | ≥ 0.6.0, < 0.6.2 | 0.7.0 | 0.7.0:rc1 | 0.7.0:rc2
Ubuntu1 product
  • swtpm< 0.6.3-0ubuntu3

9 vendors · 18 products

References

23 links
Show all 23 references