Out-of-bounds write in tpm2-tss - CVE-2026-73985
Published: November 4, 2026
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.