Allocation of Resources Without Limits or Throttling Affecting std/math/big package, versions <1.15.13>=1.16.0-0 <1.16.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.4% (88th 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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-STDMATHBIG-14548810
  • published6 Jan 2026
  • disclosed17 Feb 2022
  • creditThe OSS-Fuzz project, Emmanuel Odeke

Introduced: 17 Feb 2022

CVE-2021-33198  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade std/math/big to version 1.15.13, 1.16.5 or higher.

Overview

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

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling.

Go Vulnerability Report:
Rat.SetString and Rat.UnmarshalText may cause a panic or an unrecoverable fatal error if passed inputs with very large exponents.

CVSS Base Scores

version 4.0
version 3.1