{"id":"GO-2022-0522","summary":"Stack exhaustion on crafted paths in path/filepath","details":"Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.","aliases":["BIT-golang-2022-30632","CVE-2022-30632"],"modified":"2026-03-17T04:21:02.306862Z","published":"2022-07-20T17:02:29Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2022-0522","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/417066"},{"type":"FIX","url":"https://go.googlesource.com/go/+/ac68c6c683409f98250d34ad282b9e1b0c9095ef"},{"type":"REPORT","url":"https://go.dev/issue/53416"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.12"},{"introduced":"1.18.0-0"},{"fixed":"1.18.4"}]}],"ecosystem_specific":{"imports":[{"path":"path/filepath","symbols":["Glob"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0522.json"}}],"schema_version":"1.7.5","credits":[{"name":"Juho Nurminen of Mattermost"}]}