CVE-2026-25122 json
apko is vulnerable to unbounded resource consumption in expandapk.Split on attacker-controlled .apk streams
published 9mo ago modified last mo. also GHSA-6p9p-q6wh-9j89 , GO-2026-4406 , EUVD-2026-5379
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go chainguard.dev/apko 1.1.0
- chainguard apko 1.1.0
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260205T172317-150000.1.146.1
suse advisories SUSE-SU-2026:0403-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Is CVE-2026-25122 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9mo ago
Exploit prediction
0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | chainguard.dev/apko | >=0.14.8, <1.1.0 |
1.1.0 |
Affected products
- chainguard-dev apko
Classification
References
-
github.com
/chainguard-dev/apko/commit/2be3903fe194ad46351840f0569b35f5ac965f09
web, patch
-
github.com
/chainguard-dev/apko/security/advisories/GHSA-6p9p-q6wh-9j89
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-25122
advisory
-
github.com
/chainguard-dev/apko
package
Sources
- CVE List CVE-2026-25122
- GitHub Advisory GHSA-6p9p-q6wh-9j89
- NVD CVE-2026-25122
- OSV GO-2026-4406
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.