7.5

CVE-2022-30631: Stack exhaustion when reading certain archives in compress/gzip

Modified
AliasesRHSA-2022:6062RHSA-2022:6065UBUNTU-CVE-2022-30631
Published 09-08-2022Last modified 20-10-2025

Vulnerability summary

CVE-2022-30631 is a high (CVSS 7.5) Uncontrolled Recursion vulnerability in go standard library compress/gzip. EPSS estimates a 2.19% chance of exploitation in the next 30 days, higher than 82.4% of scored vulnerabilities.

Priority
Prioritisesevere

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?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
2.19%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 27 · Related 7

Timeline

  1. 09-08-2022
    PublishedVulnerability first disclosed.
  2. 20-10-2025
    Last modifiedVulnerability information updated.

Description

Uncontrolled recursion in Reader.Read in compress/gzip before Go 1.17.12 and Go 1.18.4 allows an attacker to cause a panic due to stack exhaustion via an archive containing a large number of concatenated 0-length compressed files.

CVSS metrics

6 scores · 6 sources · 1 version

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

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

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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
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
Redhat1 product
  • collectd-libpod-stats< 0:1.0.4-2.el8ost

7 vendors · 9 products

References

20 links
Show all 20 references