Skip to main content
CVE-2024-29040VulnerabilityPublished Updated

CVE-2024-29040: tpm2-tss · Deserialization of Untrusted Data

Affects tpm2-tssSource CVE Database V5

0

Not known to be exploited · CVSS 4.3 Medium : upgrade to 4.1.0 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.1.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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-tss to 4.1.0.

Affected software

ProductAffectedFixed in
GitHubtpm2-software/tpm2-tsspkg:github/tpm2-software/tpm2-tssOther threatsAffected
  • <4.1.0
Fixed in
  • 4.1.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade all affected tpm2-tss installations to version 4.1.0 or later, where the vulnerability has been patched. Organizations should audit their software supply chain and device firmware to identify any use of vulnerable tpm2-tss versions. Implement strict input validation and sanity checks on all TPM-related deserialization processes to ensure that fields like TPM2_GENERATED magic conform to expected values. Limit local access to TPM-enabled devices through physical security controls and restrict administrative privileges to trusted personnel. Employ monitoring and logging of TPM interactions to detect anomalous or suspicious activity that could indicate exploitation attempts. For environments where upgrading is not immediately feasible, consider isolating vulnerable systems or disabling features that rely on Fapi_Quote and Fapi_VerifyQuote functions if possible. Finally, maintain awareness of updates from the tpm2-software project and apply security patches promptly.

Description

This repository hosts source code implementing the Trusted Computing Group's (TCG) TPM2 Software Stack (TSS). The JSON Quote Info returned by Fapi_Quote has to be deserialized by Fapi_VerifyQuote to the TPM Structure `TPMS_ATTEST`. For the field `TPM2_GENERATED magic` of this structure any number can be used in the JSON structure. The verifier can receive a state which does not represent the actual, possibly malicious state of the device under test. The malicious device might get access to data it shouldn't, or can use services it shouldn't be able to. This issue has been patched in version 4.1.0.

References

Community reviews

Loading reviews…