{"id":"GO-2021-0242","summary":"Panic on inputs with large exponents in math/big","details":"Rat.SetString and Rat.UnmarshalText may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents.","aliases":["BIT-golang-2021-33198","CVE-2021-33198"],"modified":"2026-03-17T04:06:06.397491Z","published":"2022-02-17T17:33:07Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2021-0242","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/316149"},{"type":"FIX","url":"https://go.googlesource.com/go/+/6c591f79b0b5327549bd4e94970f7a279efb4ab0"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI"},{"type":"REPORT","url":"https://go.dev/issue/45910"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.13"},{"introduced":"1.16.0-0"},{"fixed":"1.16.5"}]}],"ecosystem_specific":{"imports":[{"path":"math/big","symbols":["Rat.SetString"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2021-0242.json"}}],"schema_version":"1.7.5","credits":[{"name":"The OSS-Fuzz project (discovery)"},{"name":"Emmanuel Odeke (reporter)"}]}