CVE-2022-30630: Stack exhaustion in Glob on certain paths in io/fs
Vulnerability summary
CVE-2022-30630 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in go standard library io/fs. EPSS estimates a 2.19% chance of exploitation in the next 30 days, higher than 82.4% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 26 · Related 7Timeline
- 09-08-2022PublishedVulnerability first disclosed.
- 06-03-2026Last modifiedVulnerability information updated.
Description
Uncontrolled recursion in Glob in io/fs before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a path which contains a large number of path separators.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.19%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
Increase +0.12 pp
From 2.07% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- golang-1.16< 1.16.2-0ubuntu1~18.04.2+esm1 | < 1.16.2-0ubuntu1~20.04.1
- golang-1.18< 1.18.1-1ubuntu1~18.04.4 | < 1.18.1-1ubuntu1~20.04.2 | < 1.18.1-1ubuntu1.1
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
- io/fs< 1.17.12 | ≥ 1.18.0-0, < 1.18.4
Golang1 product
- go< 1.17.12 | ≥ 1.18.0, < 1.18.4
6 vendors · 7 products
References
13 links- go.googlesource.com/go/+/fa2d41d0ca736f3ad6b200b2a4e134364e9acc59FIXMailing ListPatchVendor Advisory
- pkg.go.dev/vuln/GO-2022-0527Vendor Advisory