Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-25140

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

CVE-2026-25140

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

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.5
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25140.json, https://github.com/chainguard-dev/apko/commit/2be3903fe194ad46351840f0569b35f5ac965f09, https://github.com/chainguard-dev/apko/security/advisories/GHSA-f4w5-5xv9-85f6, https://nvd.nist.gov/vuln/detail/CVE-2026-25140

Severity

7.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.5
EPSS Probability
0.00018%
EPSS Percentile
0.04408%
Introduced Version
95e33993764a6a6f7cc4098453260cc6da7e71a1
Fix Available
3286a0b290e05ddd57b864f0465bb93aa6ea2484

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading