Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
chainguard-dev apko
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

apko是apko开源的一个基于 apk 的 OCI 镜像构建器。 apko 0.14.8版本至1.1.1之前版本存在资源管理错误漏洞,该漏洞源于ExpandApk函数未强制执行解压缩限制,可能导致资源耗尽、构建失败或拒绝服务。

CVSS 7.5 · High EPSS 0.41% · P33

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-25140

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
apko affected by potential unbounded resource consumption in expandapk.ExpandApk on attacker-controlled .apk streams
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
apko 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
apko是apko开源的一个基于 apk 的 OCI 镜像构建器。 apko 0.14.8版本至1.1.1之前版本存在资源管理错误漏洞,该漏洞源于ExpandApk函数未强制执行解压缩限制,可能导致资源耗尽、构建失败或拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
chainguard-dev apko >= 0.14.8, < 1.1.1 -

II. Public POCs for CVE-2026-25140

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25140

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-25140 (1)

Same Patch Batch · chainguard-dev · 2026-02-04 · 7 CVEs total

CVE-2026-24843 8.2 HIGH melange QEMU runner could write files outside workspace directory
CVE-2026-25143 7.8 HIGH melange affected by potential host command execution via license-check YAML mode patch pip
CVE-2026-24844 7.8 HIGH melange pipeline working-directory could allow command injection
CVE-2026-25121 7.5 HIGH apko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside
CVE-2026-25122 5.5 MEDIUM apko is vulnerable to unbounded resource consumption in expandapk.Split on attacker-contro
CVE-2026-25145 5.5 MEDIUM melange has a path traversal in license-path which allows reading files outside workspace

IV. Related Vulnerabilities

V. Comments for CVE-2026-25140

No comments yet


Leave a comment