Skip to main content
VulnerabilityPublished

CVE-2026-25122: chainguard-dev apko · Uncontrolled Resource Consumption

Affects chainguard-dev apkoSource CVE Database V5

0

Not known to be exploited · CVSS 5.5 Medium : upgrade to 1.1.0 when convenient.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.1.0
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade apko and chainguard-dev/apko to 1.1.0.

Affected software

ProductAffectedFixed in
chainguard-devapkoAffected
  • >=0.14.8 <1.1.0
Fixed in
  • 1.1.0
GitHubchainguard-dev/apkopkg:github/chainguard-dev/apkoOther threatsAffected
  • >=0.14.8 <1.1.0
Fixed in
  • 1.1.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2026-25122, European organizations should upgrade all instances of apko to version 1.1.0 or later, where the vulnerability has been patched by introducing limits on gzip decompression to prevent resource exhaustion. Until upgrades can be applied, organizations should implement strict input validation and sanitization to ensure that only trusted APK archives are processed by apko. Restricting access to the apko tool and its input sources to authorized personnel and systems reduces the risk of malicious input. Monitoring CPU usage and process performance during container builds can help detect anomalous resource consumption indicative of exploitation attempts. Additionally, integrating resource limits at the operating system or container runtime level (e.g., cgroups or container resource quotas) can prevent a single process from exhausting system resources. Finally, reviewing and hardening CI/CD pipeline security to prevent injection of malicious artifacts is recommended.

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.

References

Community reviews

Loading reviews…