CVE-2026-25122: chainguard-dev apko Uncontrolled Resource Consumption
Vulnerability summary
CVE-2026-25122 is a medium (CVSS 5.5) Uncontrolled Resource Consumption vulnerability in chainguard-dev apko. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 04-02-2026PublishedVulnerability first disclosed.
- 04-02-2026Last modifiedVulnerability information updated.
Description
apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before 1.1.0, expandapk.Split drains the first gzip stream of an APK archive via io.Copy(io.Discard, gzi) without explicit bounds. With an attacker-controlled input stream, this can force large gzip inflation work and lead to resource exhaustion (availability impact). The Split function reads the first tar header, then drains the remainder of the gzip stream by reading from the gzip reader directly without any maximum uncompressed byte limit or inflate-ratio cap. A caller that parses attacker-controlled APK streams may be forced to spend excessive CPU time inflating gzip data, leading to timeouts or process slowdown. This issue has been patched in version 1.1.0.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · GoEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
+0.02 pp
From 0.11% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Chainguard6 products
- amazon-ssm-agent< 3.3.3270.0-r5
- amazon-ssm-agent-ecs-exec< 3.3.3270.0-r5
- cg< 0.2.201-r0
- chainctl< 0.2.206-r0
- dagdotdev< 0.0.20-r6
Chainguard-dev1 product
- apko≥ 0.14.8, < 1.1.0
Chainguard.dev1 product
- apko≥ 0.14.8, < 1.1.0
Wolfi1 product
- dagdotdev< 0.0.20-r6
4 vendors · 9 products
References
5 links- github.com/chainguard-dev/apko/security/advisories/GHSA-6p9p-q6wh-9j89X Refsource CONFIRMAdvisoryWEBThird Party Advisory
- github.com/chainguard-dev/apko/commit/2be3903fe194ad46351840f0569b35f5ac965f09X Refsource MISCFIXWEBPatch