Live threats

All CVEs / Golang

CVE-2022-1962Golang Go

Medium 5.5

Priority
33
CVSS 3.1
5.5
EPSS
0.4%
probability of exploitation in 30 days · percentile 26
Auth required
Yes
Published
Aug 10, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

Uncontrolled recursion in the Parse functions in go/parser before Go 1.17.12 and Go 1.18.4 allow an attacker to cause a panic due to stack exhaustion via deeply nested types or declarations.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.17.12 1.17.12 go get stdlib@v1.17.12
Go stdlib ≥ 1.18.0-0 < 1.18.4 1.18.4 go get stdlib@v1.18.4

Per OSV / GitHub Advisories (GO-2022-0515). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.17.12
golanggo≥ 1.18.0 < 1.18.4

Official advisories

Also: Red Hat (+8)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.