Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlace crafted .tgz in scanned path
-
DeliveryOperator triggers Trivy Helm scan
-
ExploitParser invokes io.ReadAll on tar entry
-
ExecutionMemory exhausted by decompression
-
ImpactOOM killer terminates Trivy process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to place or serve a malicious .tgz file at a path that Trivy is configured to scan - for example, by committing a crafted Helm chart to a repository, uploading to a registry, or depositing a file in a shared artifact directory. An operator or automated CI job must then invoke Trivy against that path (UI:A). Trivy's Helm chart scanning feature must be active, which is default behavior when .tgz files are encountered. Exploitation is limited by: (1) the attacker's ability to influence the scan target path, (2) the requirement that a scan action be triggered, and (3) the impact being confined to the Trivy process itself with no lateral movement or data exposure. Authentication is not required from the attacker's perspective per PR:N in the CVSS vector, but write access to a scanned location is a practical prerequisite. |
| Impact | The CVSS 4.0 score of 6.9 (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H) accurately reflects the risk profile: availability impact is high (process termination), but confidentiality and integrity are unaffected and both the vulnerable system and subsequent systems show no further blast radius. The UI:A modifier is the critical limiting factor - exploitation requires an operator to actively direct a Trivy scan at an attacker-controlled path. In CI/CD environments where Trivy scans arbitrary input repositories or user-submitted charts, this user-interaction requirement is functionally weaker, as scans are often automated. No active exploitation (KEV absent) and no public POC noted, making this a prioritization-tier medium risk in most environments but an elevated concern in shared scanning services or multi-tenant pipelines where untrusted Helm charts are routinely ingested. |
| Exploit ScenarioDerived | An attacker with write access to a repository or artifact store targeted by a Trivy CI scan uploads a crafted Helm chart .tgz containing a single highly-compressed file that expands to several gigabytes when decompressed. When an automated pipeline or developer runs a Trivy scan against that path, Trivy's parser calls io.ReadAll on the archive entry, allocating gigabytes of memory until the Linux OOM killer terminates the Trivy process, silently interrupting the security scan. No public proof-of-concept has been identified at time of analysis, though crafting a decompression bomb is straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Decompression bomb (zip bomb) in Trivy's Helm chart scanner causes denial of service via OOM kill when processing a crafted .tgz archive. Affected versions prior to 0.71.0 use io.ReadAll without any size cap on tar entries inside Helm chart archives, allowing a small compressed file to expand to gigabytes in memory. An attacker who can place a malicious archive in any path that Trivy is directed to scan can reliably crash the Trivy process. No public exploit or CISA KEV listing at time of analysis.
RemediationAI
Upgrade Trivy to version 0.71.0 or later, which replaces the unbounded io.ReadAll tar unpacking with safe Helm library routines (vendor-released patch confirmed at https://github.com/aquasecurity/trivy/pull/10718 and https://github.com/aquasecurity/trivy/security/advisories/GHSA-q3fv-x8vg-qqm4). If immediate upgrade is not possible, restrict the file paths Trivy is permitted to scan so that untrusted or externally-supplied .tgz archives are excluded - this prevents the vulnerable code path from being triggered but limits scanning coverage. In CI/CD contexts, sanitize or quarantine third-party Helm chart archives before passing them to Trivy. Note that disabling Helm chart scanning entirely is a viable workaround with the trade-off of reduced IaC misconfiguration coverage.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Trivy (cpe:2.3:a:aquasecurity:trivy:*:*:*:*:*:*:*:*) is an open-source vulnerability and misconfiguration scanner widely used in CI/CD pipelines and DevSecOps workflows. The vulnerable code path resides in pkg/iac/scanners/helm/parser/parser.go, where the custom tar unpacker invoked io.ReadAll(tr) on each archive entry with no size bound - a classic CWE-770 (Allocation of Resources Without Limits or Throttling) pattern. The .tgz format's high compression ratio means a few-kilobyte payload can decompress into multi-gigabyte allocations, triggering Linux OOM killer termination of the Trivy process. The fix in 0.71.0 (PR #10718) replaces the custom unbounded unpacking logic with the official helm.sh/helm/v4 chart utilities and introduces a dedicated ParseArchive function, eliminating the direct io.ReadAll path.
Know when Trivy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network delivery of crafted archive, no attacker privileges needed, but operator must trigger the scan (UI:R); impact is availability-only, scope unchanged.
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Trivy security scanner v0.69.4 was compromised in a supply chain attack where a threat actor used stolen credentials to
Arbitrary file write in Aqua Security's Trivy scanner (prior to 0.71.1) allows an attacker who can make Trivy fetch an a
Arbitrary file write in Trivy's plugin manager prior to version 0.72.0 allows a malicious plugin author to escape the co
Trivy versions before 0.71.0 allow directory traversal through Terraform filesystem functions during misconfiguration sc
EUVD-2026-39479
GHSA-q3fv-x8vg-qqm4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB