Trivy: Helm chart tar bomb causes OOM via unbounded io.ReadAll in parser
aquasecurity trivy
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/aquasecurity/trivy Go |
|
|
Original description
Trivy is a security scanner. Prior to 0.71.0, when Trivy scans a Helm chart archive (.tgz), its custom tar unpacker reads each entry with io.ReadAll(tr) and no size limit. An attacker who can place a malicious .tgz file in the scanned path can craft a small compressed archive that decompresses to gigabytes, causing the Trivy process to be killed by the OS OOM killer. This vulnerability is fixed in 0.71.0.
From the CVE record · GitHub_M
References
- github.com/aquasecurity/trivy/security/advisories/GHSA-q3fv-x8vg-qqm4Exploit
- github.com/aquasecurity/trivy/pull/10718Exploit
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54448.json
- nvd.nist.gov/vuln/detail/CVE-2026-54448
- github.com/aquasecurity/trivy/commit/441251e51ae46cbcf7f436547e0a5766b25328b4
- github.com/aquasecurity/trivy
- github.com/aquasecurity/trivy/releases/tag/v0.71.0