5.5

CVE-2022-1962: Stack exhaustion due to deeply nested types in go/parser

Modified
AliasesUBUNTU-CVE-2022-1962DEBIAN-CVE-2022-1962GO-2022-0515
Published 09-08-2022Last modified 06-03-2026

Vulnerability summary

CVE-2022-1962 is a medium (CVSS 5.5) Uncontrolled Recursion vulnerability in go standard library go/parser. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 60.2% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.92%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 19 · Related 6

Timeline

  1. 09-08-2022
    PublishedVulnerability first disclosed.
  2. 06-03-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.92%

Chance of exploitation in the next 30 days

Percentile

60%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.92% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (go.dev)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • go≥ 1.18.0, < 1.18.4-r0
Debian1 product
  • golang-1.19< 1.19~rc2-1
Go1 product
  • stdlib≥ 1.18.0-0, < 1.18.4
Go standard library1 product
Golang1 product
  • go< 1.17.12 | ≥ 1.18.0, < 1.18.4
Opensuse1 product
  • velero&distro=openSUSE Tumbleweed< 1.9.2-1.1
Ubuntu1 product
  • golang-1.18< 1.18.1-1ubuntu1~18.04.4 | < 1.18.1-1ubuntu1~20.04.2 | < 1.18.1-1ubuntu1.1

7 vendors · 7 products

References

13 links
Show all 13 references