Vulnerability · Published Jun 25, 2026 · Assigned by GitHub_M
CVE-2026-54448Trivy: Helm chart tar bomb causes OOM via unbounded io.ReadAll in parser
Medium 6.9
In plain English
A medium-severity resource allocation without limits in trivy from aquasecurity. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/aquasecurity/trivy | 0.71.0 | GHSA-q3fv-x8vg-qqm4 |
| Go | github.com/aquasecurity/trivy | 0.71.0 | GO-2026-5983 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| aquasecurity | trivy | < 0.71.0 |
Weakness: CWE-770, CWE-789 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/aquasecurity/trivy/security/advisories/GHSA-q3fv-x8vg-qqm4 x_refsource_CONFIRM
- https://github.com/aquasecurity/trivy/pull/10718 x_refsource_MISC