tpm2-tools — security advisory
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.
- Products
- tpm2-tools
- Affected versions
- 3.1.3-2, 4.0.1-1, 4.1-1, 4.1.1-1, 4.1.1-1ubuntu0.20.04.1, 5.0-2, 5.2-1, 5.2-1build1, 5.4-1, 5.6-1, 5.6-1build1, 5.6-1build3, 5.6-1build4, 5.7-1, 5.7-1build1, 5.7-1ubuntu1, 5.7-1ubuntu2
- Fixed versions
- Not specified
- CVEs
- CVE-2024-29039
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:12 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2024-29039
tpm2-tools
Fixed versions: Not specified
tpm2-tools
Fixed versions: Not specified
tpm2-tools
Fixed versions: Not specified
tpm2-tools
Fixed versions: Not specified
tpm2-tools
Fixed versions: Not specified
tpm2-tools
Fixed versions: Not specified
Complete source record
{
"id": "f140162c8f49a677338358fa93a69d9a4c092d93b77650202245f7ed12a1c1b9",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-29039",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-29039",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2024-29039",
"products": [
{
"name": {
"value": "tpm2-tools",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.3-2",
"evidence": "/affected/0/versions"
},
{
"value": "4.0.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.1.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.1.1-1ubuntu0.20.04.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "tpm2-tools",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "5.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "5.2-1build1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "tpm2-tools",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.4-1",
"evidence": "/affected/2/versions"
},
{
"value": "5.6-1",
"evidence": "/affected/2/versions"
},
{
"value": "5.6-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "5.6-1build3",
"evidence": "/affected/2/versions"
},
{
"value": "5.6-1build4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "tpm2-tools",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.7-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "tpm2-tools",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.7-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "5.7-1ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "5.7-1ubuntu2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "tpm2-tools",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.7-1",
"evidence": "/affected/5/versions"
},
{
"value": "5.7-1build1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2024-29039",
"aliases": [
"UBUNTU-CVE-2024-29039"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tpm2-tools",
"purl": "pkg:deb/ubuntu/tpm2-tools?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"3.1.3-2",
"4.0.1-1",
"4.1-1",
"4.1.1-1",
"4.1.1-1ubuntu0.20.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tpm2-tools",
"binary_version": "4.1.1-1ubuntu0.20.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tpm2-tools",
"purl": "pkg:deb/ubuntu/tpm2-tools?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"5.0-2",
"5.2-1",
"5.2-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tpm2-tools",
"binary_version": "5.2-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tpm2-tools",
"purl": "pkg:deb/ubuntu/tpm2-tools?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"5.4-1",
"5.6-1",
"5.6-1build1",
"5.6-1build3",
"5.6-1build4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tpm2-tools",
"binary_version": "5.6-1build4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tpm2-tools",
"purl": "pkg:deb/ubuntu/tpm2-tools?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"5.7-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tpm2-tools",
"binary_version": "5.7-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tpm2-tools",
"purl": "pkg:deb/ubuntu/tpm2-tools?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"5.7-1build1",
"5.7-1ubuntu1",
"5.7-1ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tpm2-tools",
"binary_version": "5.7-1ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "tpm2-tools",
"purl": "pkg:deb/ubuntu/tpm2-tools?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"5.7-1",
"5.7-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-29039.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "tpm2-tools",
"binary_version": "5.7-1build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:44.386199778Z",
"provider": "osv",
"upstream": [
"CVE-2024-29039"
],
"references": [
"https://ubuntu.com/security/CVE-2024-29039",
"https://www.cve.org/CVERecord?id=CVE-2024-29039",
"https://github.com/tpm2-software/tpm2-tools/commit/98599df9392a346216c5a059b8d35271286100bb"
]
},
"related_cves": [
{
"value": "CVE-2024-29039",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356101,
"published_at": "2024-06-28T16:15:00+00:00"
}