{"id":"CVE-2021-33198","aliases":["CVE-2021-33198","GO-2021-0242","BIT-GOLANG-2021-33198"],"related":[],"kind":"vulnerability","state":"published","title":"Panic on inputs with large exponents in math/big","summary":"In Go before 1.15.13 and 1.16.x before 1.16.5, there can be a panic for a large exponent to the math/big.Rat SetString or UnmarshalText method.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Go before 1.15.13 and 1.16.x before 1.16.5, there can be a panic for a large exponent to the math/big.Rat SetString or UnmarshalText method.","source":"cvelist"},{"lang":"en","text":"Rat.SetString and Rat.UnmarshalText may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents.","format":"markdown","source":"go"},{"lang":"es","text":"En Go versiones anteriores a 1.15.13 y versiones 1.16.x  anteriores a 1.16.5, puede haber un pánico por un exponente grande al método math/big.Rat SetString o UnmarshalText.","source":"nvd"}],"published":"2021-08-02T18:55:53.000Z","modified":"2026-09-08T08:47:48.181Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.13"},{"type":"semver","introduced":"1.16.0-0","status":"affected","fixed":"1.16.5"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.15.13"},{"status":"affected","introduced":"1.16.0","fixed":"1.16.5"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.13"},{"type":"semver","introduced":"1.16.0","status":"affected","fixed":"1.16.5"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://groups.google.com/g/golang-announce","tags":["advisory","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://groups.google.com/g/golang-announce/c/RgCMkAEQjSI","tags":["advisory","exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-02","tags":["advisory","third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://go.dev/cl/316149","tags":["fix"],"sources":["go"]},{"url":"https://go.googlesource.com/go/+/6c591f79b0b5327549bd4e94970f7a279efb4ab0","tags":["fix"],"sources":["go"]},{"url":"https://go.dev/issue/45910","tags":["report"],"sources":["go"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33198","tags":["web"],"sources":["bitnami"]}],"credits":["The OSS-Fuzz project (discovery)","Emmanuel Odeke (reporter)"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33198","url":"https://www.cve.org/CVERecord?id=CVE-2021-33198","licence":"CVE Terms of Use","modified":"2024-08-03T23:42:20.280Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0242","url":"https://pkg.go.dev/vuln/GO-2021-0242","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33198","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33198","licence":"Public domain","modified":"2026-06-17T03:54:20.557Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2021-33198","url":"https://osv.dev/vulnerability/BIT-GOLANG-2021-33198","licence":"Apache-2.0","modified":"2026-09-08T08:47:48.181Z"}],"updatedAt":"2026-11-25T22:58:02.934Z","epss":{"score":0.03372,"percentile":0.89069,"date":"2026-12-01T12:00:22.000Z"}}