CVE-2022-30635: go standard library encoding/gob Uncontrolled Recursion
CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2022-30635DEBIAN-CVE-2022-30635GO-2022-0526BIT-golang-2022-30635
Published 09-08-2022Last modified 06-03-2026
Vulnerability summary
CVE-2022-30635 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in go standard library encoding/gob. EPSS estimates a 1.81% chance of exploitation in the next 30 days, higher than 78.3% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (CVE.org)EPSS score
1.81%
0%100%
Low · +0.11 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 22 · Related 8MGASA-2022-0262OPENSUSE-SU-2024:12189-1OPENSUSE-SU-2024:12190-1RHSA-2022:5775RHSA-2022:5799RHSA-2022:5866RHSA-2022:6042RHSA-2022:7129RHSA-2022:7519RHSA-2022:7648RHSA-2022:8057RHSA-2022:8250RHSA-2023:0407RHSA-2023:1275RHSA-2023:2357RHSA-2023:2758RHSA-2023:2802SUSE-SU-2022:2671-1SUSE-SU-2022:2672-1SUSE-SU-2023:2312-1USN-6038-1USN-6038-2CVE-2024-34156
Timeline
- 09-08-2022PublishedVulnerability first disclosed.
- 06-03-2026Last modifiedVulnerability information updated.
Description
Uncontrolled recursion in Decoder.Decode in encoding/gob before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via a message which contains deeply nested structures.
CVSS metrics
4 scores · 4 sources · 1 versionHigh 7.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 4 agree
- 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
EPSS trend
Probability
1.81%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
+0.11 pp
From 1.70% on 20-09-2026
20-09-202620-10-2026
EPSS score1.81%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu3 products
- golang-1.13< 1.13.8-1ubuntu1~16.04.3+esm3 | < 1.13.8-1ubuntu1~18.04.4+esm1 | < 1.13.8-1ubuntu1.2 | < 1.13.8-1ubuntu2.22.04.2
- 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
Debian1 product
- golang-1.19< 1.19~rc2-1
Go1 product
- stdlib≥ 1.18.0-0, < 1.18.4
Go standard library1 product
- encoding/gob< 1.17.12 | ≥ 1.18.0-0, < 1.18.4
Golang1 product
- go< 1.17.12 | ≥ 1.18.0, < 1.18.4
5 vendors · 7 products
References
12 links- go.googlesource.com/go/+/6fa37e98ea4382bf881428ee0c150ce591500eb7FIXMailing ListPatchVendor Advisory
- pkg.go.dev/vuln/GO-2022-0526Vendor Advisory