CVE-2022-32189
HIGH 7.5CVSS 3.1Panic when decoding Float and Rat types in math/big
A too-short encoded message can cause a panic in Float.GobDecode and Rat GobDecode in math/big in Go before 1.17.13 and 1.18.5, potentially allowing a denial of service.
- Published
- 10 Aug 2022
- Last modified
- 8 Oct 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Also known as
- BIT-golang-2022-32189GO-2022-0537
- Sources
- NVDJSONOSV GO-2022-0537JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
< 1.17.13 | 1.17.13 |
| NVD | golang | gocpe:2.3:a:golang:go:*:*:*:*:*:*:*:* |
>= 1.18.0, < 1.18.5 | 1.18.5 |
| OSV | Go | stdlib | < 1.17.13; >= 1.18.0-0, < 1.18.5 | 1.17.13, 1.18.5 |
References
- https://go.dev/cl/417774 · Patch, FIX
- https://go.dev/issue/53871 · Exploit, Third Party Advisory, REPORT
- https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66 · Mailing List, Patch, FIX
- https://groups.google.com/g/golang-announce/c/YqYYG87xB10 · Mailing List, Third Party Advisory, WEB
- https://pkg.go.dev/vuln/GO-2022-0537 · Vendor Advisory
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 10 Aug 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Aug 2022)