What’s Vulnerable › Vulnerabilities
CVE-2022-32189: Panic when decoding Float and Rat types in math/big
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-10 · updated 2026-10-08
Description
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.
Affected products
- Go: before 1.17.13; from 1.18.0 before 1.18.5 — fixed in 1.17.13, 1.18.5
How to fix
Upgrade to a fixed version: Go 1.17.13, 1.18.5. Check the vendor advisory for mitigations.
References
- https://go.dev/cl/417774
- https://go.dev/issue/53871
- https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66
- https://groups.google.com/g/golang-announce/c/YqYYG87xB10
- https://pkg.go.dev/vuln/GO-2022-0537
- https://go.dev/cl/417774
- https://go.dev/issue/53871
- https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66
- https://groups.google.com/g/golang-announce/c/YqYYG87xB10
- https://pkg.go.dev/vuln/GO-2022-0537
Get alerted when CVE-2022-32189 or the next vulnerability affects your stack