Resource exhaustion in Chainguard Apko
CVE-2026-25140
apko allows users to build and publish OCI container images built from apk packages. From version 0.14.8 to before 1.1.1, an attacker who controls or compromises an APK repository used by apko could cause resource exhaustion on the build host. The ExpandApk function in pkg/apk/expandapk/expandapk.go expands .apk streams without enforcing decompression limits, allowing a malicious repository to serve a small, highly-compressed .apk that inflates into a large tar stream, consuming excessive disk space and CPU time, causing build failures or denial of service. This issue has been patched in version 1.1.1.
Vulnerability class: DoS (Denial of Service)
EPSS: 0.004 (31.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Chainguard Apko
- Chainguard-dev Apko — versions >= 0.14.8, < 1.1.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-25140?
- CVE-2026-25140 is a high-severity vulnerability in Chainguard Apko, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2026-02-04.
- How severe is CVE-2026-25140?
- High severity. CVSS v3 base score is 7.5 out of 10.