{"schemaVersion":3,"id":"CVE-2026-25122","aliases":["CGA-22r7-5qjw-m64g","CGA-w3wq-j3f8-h588","GHSA-6p9p-q6wh-9j89","GO-2026-4406","CGA-2rm9-phw7-p5qg","CGA-35cm-x2wq-p2fp","CGA-48jv-q44v-pp6h","CGA-4hg2-ff29-rhq9","CGA-7cwg-fm22-cf44","CGA-7jv8-2cv9-x59p","CGA-993x-47m4-qp4v","CGA-cxh9-h4m2-5cgg","CGA-frj5-ww9w-x7qj","CGA-fv25-rf4h-8h45","CGA-h77r-xc62-632m","CGA-mq2w-pxm7-c832","CGA-mr78-8pvg-8hx8","CGA-r7m2-xw6j-phgp"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-02-04T19:02:15.838Z","modified":"2026-02-04T19:19:35.546Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00126,"percentile":0.02061,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.016,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.0011},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00126,"percentile":0.02061}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0011,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00112,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00126,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00126,"percentile":0.02061}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"chainguard","product":"amazon-ssm-agent","name":"amazon-ssm-agent","label":"amazon-ssm-agent","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/amazon-ssm-agent","purlType":"apk","versions":[{"text":"< 3.3.3270.0-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.3270.0-r5","eol":null,"hubHref":null},{"vendor":"chainguard","product":"amazon-ssm-agent-ecs-exec","name":"amazon-ssm-agent-ecs-exec","label":"amazon-ssm-agent-ecs-exec","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/amazon-ssm-agent-ecs-exec","purlType":"apk","versions":[{"text":"< 3.3.3270.0-r5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.3270.0-r5","eol":null,"hubHref":null},{"vendor":"chainguard","product":"cg","name":"cg","label":"cg","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/cg","purlType":"apk","versions":[{"text":"< 0.2.201-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.201-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"chainctl","name":"chainctl","label":"chainctl","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/chainctl","purlType":"apk","versions":[{"text":"< 0.2.206-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.206-r0","eol":null,"hubHref":null},{"vendor":"chainguard","product":"dagdotdev","name":"dagdotdev","label":"dagdotdev","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/dagdotdev","purlType":"apk","versions":[{"text":"< 0.0.20-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.20-r6","eol":null,"hubHref":null},{"vendor":"wolfi","product":"dagdotdev","name":"dagdotdev","label":"dagdotdev","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/dagdotdev","purlType":"apk","versions":[{"text":"< 0.0.20-r6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.0.20-r6","eol":null,"hubHref":null},{"vendor":"chainguard-dev","product":"apko","name":"apko","label":"apko","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.14.8, < 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.14.8, < 1.1.0","eol":null,"hubHref":"/vendor/chainguard-dev/apko"},{"vendor":"chainguard","product":"apko","name":"apko","label":"apko","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.14.8, < 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.14.8, < 1.1.0","eol":null,"hubHref":"/vendor/chainguard/apko"},{"vendor":"chainguard.dev","product":"apko","name":"chainguard.dev/apko","label":"apko","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/chainguard.dev/apko","purlType":"golang","versions":[{"text":"≥ 0.14.8, < 1.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.14.8, < 1.1.0","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/chainguard-dev/apko/security/advisories/GHSA-6p9p-q6wh-9j89","label":"github.com/chainguard-dev/apko/security/advisories/GHSA-6p9p-q6wh-9j89","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Third Party Advisory"]},{"url":"https://github.com/chainguard-dev/apko/commit/2be3903fe194ad46351840f0569b35f5ac965f09","label":"github.com/chainguard-dev/apko/commit/2be3903fe194ad46351840f0569b35f5ac965f09","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25122.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25122.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25122","label":"nvd.nist.gov/vuln/detail/CVE-2026-25122","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/chainguard-dev/apko","label":"github.com/chainguard-dev/apko","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:0403-1"],"duplicates":[],"related":["CGA-F3VX-5MGF-MH7C","OPENSUSE-SU-2026:21483-1","SUSE-SU-2026:0403-1"]},"timeline":[{"kind":"published","date":"2026-02-04T19:02:15.838Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-04T19:19:35.546Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:35:19.210Z","stale":false,"partial":false}}