
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25140 is a decompression bomb (zip bomb) vulnerability in Chainguard's apko, a tool for building OCI container images from APK packages. The flaw allows an attacker who controls or compromises an APK repository used by apko to cause unbounded resource exhaustion on the build host. Affected versions span from v0.14.8 up to (but not including) v1.1.1. The vulnerability was discovered by Oleh Konko (@1seal) from 1seal, disclosed on February 3, 2026, and patched in v1.1.1. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Feedly).
The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). The vulnerable code resides in the ExpandApk function within pkg/apk/expandapk/expandapk.go, which decompresses .apk streams (gzip-compressed tar archives) without enforcing any size limits on the decompressed output. An attacker serving a malicious APK repository can craft a highly-compressed "decompression bomb" — a small .apk file that expands into an extremely large tar stream — causing the build host to exhaust disk space and CPU time. The fix (commit 2be3903) introduces LimitedReader wrappers around all external data sources, including APK index decompression, APK control/data sections, and HTTP response bodies, with configurable size limits exposed as CLI flags (GitHub Advisory, Fix Commit).
Successful exploitation results in a denial of service on the build host, with no impact to confidentiality or integrity. A malicious APK repository can cause apko to consume excessive disk space and CPU time during image builds, leading to build failures and potential disruption of CI/CD pipelines that rely on apko. Because apko is commonly used in automated container image build workflows, a compromised or attacker-controlled upstream APK repository could affect multiple build hosts across an organization's infrastructure (GitHub Advisory, Feedly).
No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported. The EPSS score is approximately 0.039% (12th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires the attacker to control or compromise an APK repository that the target apko build process fetches packages from — a supply chain attack precondition that limits opportunistic exploitation (GitHub Advisory, Feedly).
.apk file (gzip-compressed tar archive) that expands to a very large tar stream when decompressed — for example, a file containing gigabytes of repeated null bytes compressed to a few kilobytes..apk in the attacker-controlled repository, ensuring it appears as a valid package that apko would fetch during a build.ExpandApk on the malicious .apk, it decompresses the stream without limits, consuming all available disk space and CPU on the build host, causing build failures or a full denial of service (GitHub Advisory)./tmp or configured temp paths); disk space exhaustion on build hosts coinciding with apko build execution.Upgrade apko to version v1.1.1 or later, which introduces configurable decompression size limits via LimitedReader wrappers on all external data sources. The patched version adds CLI flags to control limits: --max-apkindex-decompressed-size, --max-apk-control-size, --max-apk-data-size, and --max-http-response-size. As a workaround for environments that cannot immediately upgrade, restrict apko builds to only use trusted, verified APK repositories and implement network-level controls to prevent access to unauthorized package sources (GitHub Advisory, Fix Commit).
The vulnerability was coordinated and published by the Chainguard security team (coordinators: egibs, antitree, jdolitsky) and credited to Oleh Konko (@1seal) from 1seal for responsible disclosure. Red Hat also tracked the issue under their CVE database. No significant broader media coverage or notable community controversy has been identified beyond standard vulnerability database entries (GitHub Advisory, Red Hat).
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."