TPM2.0 vulnerable to out-of-bounds write
An out-of-bounds write vulnerability exists in TPM2.0's Module Library allowing writing of a 2-byte data past the end of TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can lead to denial of service (crashing the TPM chip/process or rendering it unusable) and/or arbitrary code execution in the TPM context.
- Published
- Feb 28, 2023
- Updated
- Jun 17, 2026
- EPSS
- 1.3% · 69th percentile
- CWE
- CWE-787
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.3%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| trustedcomputinggroup | trusted platform module | cpe:2.3:a:trustedcomputinggroup:trusted_platform_module |
| microsoft | windows 10 1507 | cpe:2.3:o:microsoft:windows_10_1507 |
| microsoft | windows 10 1607 | cpe:2.3:o:microsoft:windows_10_1607 |
| microsoft | windows 10 1809 | cpe:2.3:o:microsoft:windows_10_1809 |
| microsoft | windows 10 20h2 | cpe:2.3:o:microsoft:windows_10_20h2 |
| microsoft | windows 10 21h2 | cpe:2.3:o:microsoft:windows_10_21h2 |
| microsoft | windows 10 22h2 | cpe:2.3:o:microsoft:windows_10_22h2 |
| microsoft | windows 11 21h2 | cpe:2.3:o:microsoft:windows_11_21h2 |
| microsoft | windows 11 22h2 | cpe:2.3:o:microsoft:windows_11_22h2 |
| microsoft | windows server 2016 | cpe:2.3:o:microsoft:windows_server_2016 |
| microsoft | windows server 2019 | cpe:2.3:o:microsoft:windows_server_2019 |
| microsoft | windows server 2022 | cpe:2.3:o:microsoft:windows_server_2022 |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- microsoft windows server 2016before 10.0.14393.5786
- microsoft windows server 2019before 10.0.17763.4131
- microsoft windows server 2022before 10.0.20348.1607
Versions reported by the vendor
Affected version ranges reported by the assigning authority (certcc). Independent of NVD's CPE analysis and usually ahead of it.
Trusted Computing Group TPM2.0
- 1.59, 1.38, 1.19affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | libtpms | before 0.9.1-3.20211126git1ff6fe1f43.el9_2 | 0.9.1-3.20211126git1ff6fe1f43.el9_2 |
| Debian:12 | libtpms | before 0.9.2-3.1 | 0.9.2-3.1 |
| Red Hat:enterprise_linux:9::appstream | libtpms | before 0:0.9.1-3.20211126git1ff6fe1f43.el9_2 | 0:0.9.1-3.20211126git1ff6fe1f43.el9_2 |
| Red Hat:enterprise_linux:9::appstream | libtpms-debuginfo | before 0:0.9.1-3.20211126git1ff6fe1f43.el9_2 | 0:0.9.1-3.20211126git1ff6fe1f43.el9_2 |
| Red Hat:enterprise_linux:9::appstream | libtpms-debugsource | before 0:0.9.1-3.20211126git1ff6fe1f43.el9_2 | 0:0.9.1-3.20211126git1ff6fe1f43.el9_2 |
| Red Hat:rhel_eus:8.6::appstream | hivex | before 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | hivex-debuginfo | before 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | hivex-debugsource | before 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | hivex-devel | before 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-appliance | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-bash-completion | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-debuginfo | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-debugsource | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-devel | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-gfs2 | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-gobject | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-gobject-debuginfo | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-gobject-devel | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-inspect-icons | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-java | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-java-debuginfo | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-java-devel | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
| Red Hat:rhel_eus:8.6::appstream | libguestfs-javadoc | before 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f |
+96
Same product
trustedcomputinggroup: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-6622An issue was discovered that affects all producers of BIOS firmware who make a certain realistic interpretation of an obscure portion of the28Monitor
- CVE-2023-1018TPM2.0 vulnerable to out-of-bounds read24Monitor
- CVE-2020-26933Trusted Computing Group (TCG) Trusted Platform Module Library Family 2.0 Library Specification Revisions 1.38 through 1.59 has Incorrect Acc24Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libtpms | 0.9.1-3.20211126git1ff6fe1f43.el9_2 · AlmaLinux:9 | Package registry (OSV) |
| debian:libtpms | 0.9.2-3.1 · Debian:12 | Package registry (OSV) |
| opensuse:libtpms | 0.8.2-150300.3.9.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| red hat:hivex | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:hivex-debuginfo | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:hivex-debugsource | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:hivex-devel | 0:1.3.18-23.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:libguestfs | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:libguestfs-appliance | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:libguestfs-bash-completion | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:libguestfs-debuginfo | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:libguestfs-debugsource | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:libguestfs-devel | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:libguestfs-gfs2 | 1:1.44.0-5.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:SLOF | 0:20210217-1.module+el8.6.0+14480+c0a3aa0f · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| suse:libtpms | 0.8.2-150300.3.9.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Francisco FalconQuarkslabfinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- kb.cert.org/vuls/id/782720
- trustedcomputinggroup.org/about/security/
- trustedcomputinggroup.org/wp-content/uploads/TCGVRT0007-Advisory-FINAL.pdf
- www.kb.cert.org/vuls/id/782720
Vendor advisories and official records. Exploit/PoC links are deliberately left out.