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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-25122— apko is vulnerable to unbounded resource consumption in expandapk.Split on attacker-controlled .apk streams

CVSS 5.5 · Medium EPSS 0.02% · P5
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-25122

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 is vulnerable to unbounded resource consumption in expandapk.Split on attacker-controlled .apk streams
Source: NVD (National Vulnerability Database)
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.0, expandapk.Split drains the first gzip stream of an APK archive via io.Copy(io.Discard, gzi) without explicit bounds. With an attacker-controlled input stream, this can force large gzip inflation work and lead to resource exhaustion (availability impact). The Split function reads the first tar header, then drains the remainder of the gzip stream by reading from the gzip reader directly without any maximum uncompressed byte limit or inflate-ratio cap. A caller that parses attacker-controlled APK streams may be forced to spend excessive CPU time inflating gzip data, leading to timeouts or process slowdown. This issue has been patched in version 1.1.0.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: NVD (National Vulnerability Database)
Vulnerability Title
apko 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
apko是apko开源的一个基于 apk 的 OCI 镜像构建器。 apko 0.14.8版本至1.1.0之前版本存在资源管理错误漏洞,该漏洞源于expandapk.Split函数处理APK归档时未设置明确边界,可能导致资源耗尽。
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

VendorProductAffected VersionsCPESubscribe
chainguard-devapko >= 0.14.8, < 1.1.0 -

II. Public POCs for CVE-2026-25122

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-25122

登录查看更多情报信息。

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

CVE-2026-248438.2 HIGHmelange QEMU runner could write files outside workspace directory
CVE-2026-251437.8 HIGHmelange affected by potential host command execution via license-check YAML mode patch pip
CVE-2026-248447.8 HIGHmelange pipeline working-directory could allow command injection
CVE-2026-251217.5 HIGHapko is vulnerable to path traversal in apko dirFS which allows filesystem writes outside
CVE-2026-251407.5 HIGHapko affected by potential unbounded resource consumption in expandapk.ExpandApk on attack
CVE-2026-251455.5 MEDIUMmelange has a path traversal in license-path which allows reading files outside workspace

IV. Related Vulnerabilities

V. Comments for CVE-2026-25122

No comments yet


Leave a comment