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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-770 — CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-789 — CWE-789: Memory Allocation with Excessive Size Value
Affected products
| Vendor | Product | Versions |
|---|---|---|
| aquasecurity | trivy | < 0.71.0 |
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)
Generated from the official CVE List on 26 Jun 2026 07:05 UTC.