Security mailing lists by PureSourceCode

CVE-2022-23645

MEDIUM 5.5CVSS 3.1

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.

Published
18 Feb 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD swtpm_project swtpm
cpe:2.3:a:swtpm_project:swtpm:*:*:*:*:*:*:*:*
< 0.5.3 0.5.3
NVD swtpm_project swtpm
cpe:2.3:a:swtpm_project:swtpm:*:*:*:*:*:*:*:*
>= 0.6.0, < 0.6.2 0.6.2
NVD swtpm_project swtpm
cpe:2.3:a:swtpm_project:swtpm:0.7.0:-:*:*:*:*:*:*
= 0.7.0
NVD swtpm_project swtpm
cpe:2.3:a:swtpm_project:swtpm:0.7.0:rc1:*:*:*:*:*:*
= 0.7.0
NVD swtpm_project swtpm
cpe:2.3:a:swtpm_project:swtpm:0.7.0:rc2:*:*:*:*:*:*
= 0.7.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
= 35

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 18 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.