High severity7.5NVD Advisory· Published Feb 4, 2026· Updated Jun 17, 2026
CVE-2026-25140
CVE-2026-25140
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
7cpe:2.3:a:chainguard:apko:*:*:*:*:*:go:*:*+ 2 more
- cpe:2.3:a:chainguard:apko:*:*:*:*:*:go:*:*range: >=0.14.8,<1.1.1
- (no CPE)range: >=0.14.8 <1.1.1
- (no CPE)range: >= 0.14.8, < 1.1.1
- osv-coords4 versionspkg:apk/chainguard/dagdotdevpkg:apk/wolfi/dagdotdevpkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2016.0
< 0.0.20-r6+ 3 more
- (no CPE)range: < 0.0.20-r6
- (no CPE)range: < 0.0.20-r6
- (no CPE)range: < 0.0.20260226T182644-150000.1.149.1
- (no CPE)range: < 0.0.20260723T184607-160000.1.1
Patches
Vulnerability mechanics
References
5- github.com/chainguard-dev/apko/commit/2be3903fe194ad46351840f0569b35f5ac965f09nvdPatch
- github.com/advisories/GHSA-f4w5-5xv9-85f6ghsaADVISORY
- github.com/chainguard-dev/apko/security/advisories/GHSA-f4w5-5xv9-85f6nvdThird Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2026-25140ghsa
- pkg.go.dev/vuln/GO-2026-4410ghsa
News mentions
0No linked articles in our index yet.