p PatchFirst

CVE-2026-25122

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

CVSS 5.5 · Medium · EPSS 0.1%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • apkoNo fix published

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Affected products and versions

  • apko

    Versions
    • >= 0.14.8, < 1.1.0: Affected

    No fix published

Original sources

Check your server →