Stack exhaustion in Parse in go/build/constraint
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
Red Hat OpenShift Data Foundation 4.16 security, enhancement & bug fix update
Released 2026-02-05 · Red Hat rating Important · View on Red Hat →
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.
golang-jwt is a Go implementation of JSON Web Tokens.
An attacker can pass a malicious malformed token which causes unexpected memory to be consumed during parsing.
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.