CVE catalog

CVE-2022-23645

swtpm: CVE-2022-23645

[CVE catalog]

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

DistributionPackageReleaseVersionStatus
Debianswtpmsid0.10.2-2fixed
Debianswtpmforky0.10.2-2fixed
Debianswtpmtrixie0.7.1-1.5fixed
Debianswtpmbookworm0.7.1-1.3fixed
Suseswtpmlinux enterprise module for server applications 15 sp30.5.3-150300.3.3.1fixed
Suseswtpmlinux enterprise micro 5.10.5.3-150300.3.3.1fixed
Opensuseswtpmleap 15.30.5.3-150300.3.3.1fixed
Opensuseswtpmtumbleweed0.7.1-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianswtpmsourcesid0.7.1-1not yet assignedNot reportedNot reported
Debianswtpmsourceforky0.7.1-1not yet assignedNot reportedNot reported
Debianswtpmsourcetrixie0.7.1-1not yet assignedNot reportedNot reported
Debianswtpmsourcebookworm0.7.1-1not yet assignedNot reportedNot reported
Suseswtpmrpmlinux enterprise module for server applications 15 sp30.5.3-150300.3.3.1Not reportedSUSE-SU-2022:1297-1Not reported
Suseswtpmrpmlinux enterprise micro 5.10.5.3-150300.3.3.1Not reportedSUSE-SU-2022:1297-1Not reported
Opensuseswtpmrpmleap 15.30.5.3-150300.3.3.1Not reportedSUSE-SU-2022:1297-1Not reported
Opensuseswtpmrpmtumbleweed0.7.1-1.1Not reportedOPENSUSE-SU-2024:11870-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • [swtpm-devel]Unknown

    Source package: [swtpm]

    Details (1)
    • 0.10.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 0.7.1-1.1

      Version impact unknown

      dsa · swtpm · opensuse · tumbleweed

  • [swtpm-selinux]Unknown

    Source package: [swtpm]

    Details (1)
    • 0.10.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 0.7.1-1.1

      Version impact unknown

      dsa · swtpm · opensuse · tumbleweed

  • [swtpm]Fixed

    Source package: [swtpm]

    Details (1)
    • 0.10.2-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 0.7.1-1.1

      dsa · swtpm · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [swtpm]Fixed
    Details (2)
    • 0.7.1-1.3 · amd64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

    • 0.7.1-1.3 · arm64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

  • [swtpm-dev]Fixed

    Source package: [swtpm]

    Details (2)
    • 0.7.1-1.3 · amd64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

    • 0.7.1-1.3 · arm64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

  • [swtpm-libs]Fixed

    Source package: [swtpm]

    Details (2)
    • 0.7.1-1.3 · amd64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

    • 0.7.1-1.3 · arm64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

  • Source package: [swtpm]

    Details (2)
    • 0.7.1-1.3 · amd64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

    • 0.7.1-1.3 · arm64 · bookworm

      Fixed · Fixed: 0.7.1-1

      dsa · swtpm · debian · bookworm

Observed:

References