7.5

CVE-2022-2879: Unbounded memory consumption when reading headers in archive/tar

Modified
AliasesUBUNTU-CVE-2022-2879DEBIAN-CVE-2022-2879CGA-3228-f4r3-f32m
Published 14-10-2022Last modified 13-02-2025

Vulnerability summary

CVE-2022-2879 is a high (CVSS 7.5) vulnerability in go standard library archive/tar. EPSS estimates a 2.01% chance of exploitation in the next 30 days, higher than 80.8% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (NVD); 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 (NVD)
EPSS score
2.01%
0%100%
Low · +0.34 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 20 · Related 8

Timeline

  1. 14-10-2022
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

Description

Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

2.01%

Chance of exploitation in the next 30 days

Percentile

81%

Versus all other CVEs

30-day change

Increase +0.34 pp

From 1.67% 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.

Chainguard10 products
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded)
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
  • katib-suggestion-nas-darts< 0.19.0-r31
Wolfi10 products
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compatAll versions (No fix recorded)
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
  • katib-suggestion-nas-darts< 0.19.0-r31
Ubuntu9 products
  • golang-1.10All versions (No fix recorded)
  • 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.14All versions (No fix recorded)
  • golang-1.16< 1.16.2-0ubuntu1~18.04.2+esm1 | < 1.16.2-0ubuntu1~20.04.1
  • golang-1.17All versions (No fix recorded)
Alpine1 product
  • go≥ 1.19.0, < 1.18.7-r0 | ≥ 1.19.0, < 1.19.2-r0
Debian1 product
  • golang-1.19< 1.19.2-1
Go1 product
  • stdlib≥ 1.19.0-0, < 1.19.2
Go standard library1 product
Golang1 product
  • go< 1.18.7 | ≥ 1.19.0, < 1.19.2
Opensuse1 product
  • docker-compose&distro=openSUSE Tumbleweed< 2.12.0-1.1

9 vendors · 35 products

References

15 links
Show all 15 references