
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25122 is a denial-of-service vulnerability in Chainguard's apko tool — a utility for building and publishing OCI container images from APK packages — caused by unbounded resource consumption in the expandapk.Split function. The vulnerability affects apko versions >= 0.14.8 and < 1.1.0 (Go module chainguard.dev/apko). It was discovered by Oleh Konko from 1seal, disclosed on February 3, 2026, and published to the GitHub Advisory Database and NVD on February 3–4, 2026. The CVSS v3.1 base score is 5.5 (Medium) (GitHub Advisory, Feedly).
The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). Specifically, the expandapk.Split function drains the first gzip stream of an APK archive using io.Copy(io.Discard, gzi) without imposing any maximum uncompressed byte limit or inflate-ratio cap. After reading the first tar header, the function reads directly from the gzip reader with no bounds, meaning a crafted APK archive with a highly compressed payload (analogous to a gzip bomb) can force the process to spend excessive CPU time on decompression. Exploitation requires user interaction — a user or automated pipeline must process an attacker-controlled APK stream — and no special privileges are required (GitHub Advisory, Patch Commit).
The sole impact is on availability: there is no confidentiality or integrity impact. A caller that parses attacker-controlled APK streams can be forced into excessive CPU consumption, leading to process slowdown, timeouts, or complete denial of service for the affected build pipeline or container image construction workflow. This is particularly relevant in CI/CD environments where apko processes externally sourced APK packages, potentially disrupting automated build and publish operations (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.013% (0.000130), placing it in the 7th percentile for exploitation likelihood within 30 days, indicating very low near-term exploitation probability (GitHub Advisory, Feedly). Exploitation is constrained by the local attack vector and the requirement for user interaction with a malicious APK file.
expandapk.Split processes the APK, it calls io.Copy(io.Discard, gzi) without bounds, causing the gzip reader to inflate the entire malicious stream and consuming excessive CPU resources.apko process exhibiting sustained high CPU usage (near 100%) for an abnormally long duration during APK parsing or image build operations..apk files in build directories or cache locations that do not correspond to known-good packages.Upgrade apko to version 1.1.0 or later, which introduces limit readers for all external data sources including APK archives, APK indexes, and HTTP responses. The fix (commit 2be3903) adds configurable size limits via new CLI flags: --max-apk-control-size, --max-apk-data-size, --max-apkindex-decompressed-size, and --max-http-response-size, with safe defaults applied automatically. Until upgrade is possible, restrict apko to processing only trusted, verified APK sources and avoid processing APK streams from untrusted or attacker-controlled repositories (GitHub Advisory, Patch Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."