---
id: CVE-2022-32189
title: >-
  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.
summary: >-
  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.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: golang
product: go
affected:
  - go < 1.17.13
  - 'go >= 1.18.0, < 1.18.5'
patched:
  - go 1.18.5
published: '2022-08-10'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T22:17:21.540'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-32189'
references:
  - url: 'https://go.dev/cl/417774'
    label: security@golang.org
  - url: 'https://go.dev/issue/53871'
    label: security@golang.org
  - url: 'https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66'
    label: security@golang.org
  - url: 'https://groups.google.com/g/golang-announce/c/YqYYG87xB10'
    label: security@golang.org
  - url: 'https://pkg.go.dev/vuln/GO-2022-0537'
    label: security@golang.org
  - url: 'https://go.dev/cl/417774'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://go.dev/issue/53871'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://go.googlesource.com/go/+/055113ef364337607e3e72ed7d48df67fde6fc66'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://groups.google.com/g/golang-announce/c/YqYYG87xB10'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://pkg.go.dev/vuln/GO-2022-0537'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.02629
epssPercentile: 0.85058
ingestedAt: '2026-10-08T23:16:47.348Z'
---

## Overview

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

- `go < 1.17.13`
- `go >= 1.18.0, < 1.18.5`

## Remediation

Upgrade past the affected range:

- `go 1.18.5`
