Uncontrolled Recursion in go-attestation - CVE-2026-19201
Published: November 6, 2026 / Updated: November 6, 2026
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.