VDB

CVE-2022-32189

CVE-2022-32189 PUBLISHED

Panic when decoding Float and Rat types in math/big

Reported by go · Published August 9, 2022

math/big is fixed in 1.18.5 and 1.17.13 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
stdlibGo Modules1.18.5, 1.17.13
math/bigGo Modules1.18.5, 1.17.13
golang-binAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
golang-raceAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
golang-srcAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
golang-sharedAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
golangBitnami1.18.5, 1.17.13
golang-docsAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
golangAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
golang-testsAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
golang-miscAmazon Linux1.19.3-2.amzn2023.0.2, 1.18.5-1.amzn2
goAlpine1.18.5-r0

2 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
Go standard librarymath/big0, 1.18.0-0
amazon:2golang-bin0
amazon:2023golang-race0
amazon:2023golang-src0
amazon:2023golang-shared0
Go standard librarymath/big1.18.0-0, 0
amazon:2023golang-docs0
amazon:2023golang0
amazon:2golang-src0
amazon:2023golang-tests0
amazon:2023golang-misc0
amazon:2golang-tests0
alpinego0
amazon:2golang-misc0
amazon:2golang-shared0
amazon:2023golang-bin0
amazon:2golang-docs0
amazon:2golang0
amazon:2golang-race0

Timeline

  • Aug 1, 2022 CVE Published
  • Aug 10, 2022 EPSS Score (30 in total, the first dated here)
  • Feb 13, 2025 PoC Published (2 in total, the first dated here)
  • Mar 21, 2026 Security Advisory (98 in total, the first dated here)
  • Jun 24, 2026 Coalition ESS Score
  • Jul 2, 2026 Distribution Patch (94 in total, the first dated here)
  • Oct 8, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-32189
vulnetix vdb fixes CVE-2022-32189

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-32189/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›