CVE-2022-1962 - CVE House
Back to Database
Status published Unknown CVE-2022-1962

Stack exhaustion due to deeply nested types in go/parser

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-1962

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Juho Nurminen of Mattermost

Affected Vendor

Go standard library

View all reports →

Affected Software

go/parser
Vulnerable Versions:
0, 1.18.0-0

Timeline

Official Publish: August 9th, 2022
Last Modified: March 6th, 2026
Added to House: July 21st, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.