Integer Overflow or Wraparound Affecting std/math/big package, versions <1.16.14>=1.17.0-0 <1.17.7


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.83% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDMATHBIG-14549339
  • published6 Jan 2026
  • disclosed23 May 2022
  • creditEmmanuel Odeke

Introduced: 23 May 2022

CVE-2022-23772  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade std/math/big to version 1.16.14, 1.17.7 or higher.

Overview

std/math/big is a Go standard library package std/math/big

Affected versions of this package are vulnerable to Integer Overflow or Wraparound.

Go Vulnerability Report:
Rat.SetString had an overflow issue that can lead to uncontrolled memory consumption.

CVSS Base Scores

version 4.0
version 3.1