{"id":"CVE-2022-1962","published":"2022-08-09T20:18:18Z","modified":"2026-03-06T19:08:08Z","title":"Stack exhaustion due to deeply nested types in go/parser","vendor":"Go standard library","product":"go/parser","tier":"tail","description":{"text":"Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00916,"percentile":0.61057,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/417063","tags":[]},{"url":"https://go.googlesource.com/go/+/695be961d57508da5a82217f7415200a11845879","tags":[]},{"url":"https://go.dev/issue/53616","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-0515","tags":[]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":12.21},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"go/parser","versions":["< 1.17.12",">= 1.18.0-0, < 1.18.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-24T19:32:02.875913Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.17.12",">=1.18.0-0, <1.18.4"],"patched":["1.17.12","1.18.4"],"from":["GO-2022-0515"],"provenance":"source"}],"summary":{"text":"The go/parser package in the Go standard library contains an uncontrolled recursion flaw in its Parse functions, present in releases before Go 1.17.12 and Go 1.18.4. An attacker who can supply input that is parsed by these functions can exhaust the stack using deeply nested types or declarations, causing a panic, and this requires local access with low privileges and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:32Z"},"euvd":{"id":"EUVD-2022-25230","exploited":false,"provenance":"source"}}