Uncontrolled Recursion in go-attestation - CVE-2026-19201

 

Uncontrolled Recursion in go-attestation - CVE-2026-19201

Published: November 6, 2026 / Updated: November 6, 2026


Vulnerability identifier: #VU159532
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-19201
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unauthenticated remote attacker to crash a go-attestation verifier that parses Windows TPM measurement logs, causing denial of service through stack exhaustion or memory exhaustion.

The vulnerability exists due to uncontrolled recursion in the Windows SIPA parser's readELAMAggregation function in attest/win_events.go, which processes nested elamAggregation sub-events without a depth limit, discards recursive-call errors, and applies its size guard only to bytes.Reader inputs, bypassing that guard when recursive calls receive an io.LimitedReader wrapper. An unauthenticated remote attacker can submit a measurement log containing deeply nested eight-byte elamAggregation headers through the public event-log parsing APIs, supply matching event-data hashes to pass digest checks, and, as a malicious attester, legitimately extend the events into a TPM so that PCR replay matches a genuine quote, causing CPU and memory amplification, a fatal goroutine stack overflow that Go's recover cannot catch, or an out-of-memory kill of a memory-limited verifier.


Affected software

go-attestation

How to mitigate CVE-2026-19201

Install security update from vendor's website.

go-attestation - update to 0.6.2

External References

Related Security Bulletins