CVE-2024-29039: tpm2-tools · Reliance on Untrusted Inputs in a Security Decision
Affects tpm2-toolsSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical : upgrade to 5.7 as a priority.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Upgrade tpm2-software/tpm2-tools to 5.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubtpm2-software/tpm2-toolspkg:github/tpm2-software/tpm2-toolsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade all tpm2-tools installations to version 5.7 or later to apply the official patch that corrects input validation for PCR selection. In environments where immediate patching is not feasible, organizations should restrict network access to systems running vulnerable versions of tpm2-tools, especially limiting exposure to untrusted networks. Implement strict input validation and monitoring on systems that process TPM quote data to detect anomalous PCR selection inputs. Employ hardware and firmware integrity monitoring solutions that do not solely rely on TPM quote outputs to cross-verify system state. Regularly audit and verify TPM configurations and ensure that TPM firmware is up to date. Additionally, integrate TPM attestation results with broader security information and event management (SIEM) systems to correlate potential indicators of compromise. Finally, educate security teams about the implications of TPM quote manipulation to enhance incident response readiness.
Description
tpm2 is the source repository for the Trusted Platform Module (TPM2.0) tools. This vulnerability allows attackers to manipulate tpm2_checkquote outputs by altering the TPML_PCR_SELECTION in the PCR input file. As a result, digest values are incorrectly mapped to PCR slots and banks, providing a misleading picture of the TPM state. This issue has been patched in version 5.7.
References
- github.com/tpm2-software/tpm2-tools/security/advisories/GHSA-8rjm-5f5f-h4q6 (opens in a new tab)
- github.com/tpm2-software/tpm2-tools/releases/tag/5.7 (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GI4JFEZBKQQUPJ4RWK6IHEWXAFCEJDPI/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EFR7SVEWCOXORHPCLLGXEMHFMIGG2MFE/ (opens in a new tab)