Skip to content
OpenAdvisories
High · 7.5 CVE-2026-25140 EUVD-2026-5381GHSA-f4w5-5xv9-85f6GO-2026-4410

apko affected by potential unbounded resource consumption in expandapk.ExpandApk on attacker-controlled .apk streams

Published Feb 4, 2026 · Updated Feb 4, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
chainguard-dev apko >= 0.14.8, < 1.1.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260226T182644-150000.1.149.1 SUSE-SU-2026:0757-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dagdotdev 0.0.20-r6 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go chainguard.dev/apko >= 0.14.8, < 1.1.1 1.1.1 GO-2026-4410

Advisories 2

References