Resource Exhaustion Affecting cg package, versions <0.2.300-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.41% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-CG-17798973
  • published2 Jul 2026
  • disclosed6 Mar 2026

Introduced: 6 Mar 2026

CVE-2026-29049  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Chainguard cg to version 0.2.300-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cg package and not the cg package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

melange allows users to build apk packages using declarative pipelines. In version 0.40.5 and prior, melange update-cache downloads URIs from build configs via io.Copy without any size limit or HTTP client timeout (pkg/renovate/cache/cache.go). An attacker-controlled URI in a melange config can cause unbounded disk writes, exhausting disk on the build runne. There is no known patch publicly available.