Heap-based buffer overflow in tpm2-tools - CVE-2026-75504

 

Heap-based buffer overflow in tpm2-tools - CVE-2026-75504

Published: November 18, 2026


Vulnerability identifier: #VU167123
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-75504
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to corrupt heap memory and cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in tpm2_getekcertificate process_output() when Intel EK certificate conversion to PEM exceeds ctx.web_cert_buffer capacity, with unchecked base64_decode() failures also permitting a null pointer dereference. A remote privileged user can supply a crafted provisioning response through interception or by persuading a user to select a malicious server URL to corrupt heap memory and disrupt execution.


Affected software

tpm2-tools

How to mitigate CVE-2026-75504

Install security update from vendor's website.

tpm2-tools - addressed in versions 5.7.1, 5.8

External References

Related Security Bulletins