Out-of-bounds write in tpm2-tss - CVE-2026-73985

 

Out-of-bounds write in tpm2-tss - CVE-2026-73985

Published: November 4, 2026


Vulnerability identifier: #VU159294
CSH Severity: High
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-73985
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to corrupt memory and cause a denial of service, with potential arbitrary code execution depending on memory layout and allocator behavior.

The vulnerability exists due to an out-of-bounds write in the tpm2-tss function ifapi_json_BYTE_array_deserialize() when processing JSON arrays that exceed the output buffer's maximum size. The function detects the excessive array length but continues writing instead of returning an error. A remote attacker can trick a victim into processing a crafted JSON file containing an oversized byte array to overwrite adjacent memory with attacker-controlled bytes and cause a crash or potentially execute arbitrary code.


Affected software

tpm2-tss

How to mitigate CVE-2026-73985

Install security update from vendor's website.

tpm2-tss - addressed in versions 4.1.4, 4.2.0

External References

Related Security Bulletins