CVE-2026-54448: Trivy Helm Chart Denial-of-Service – Zip Bomb Vulnerability
Trivy, a widely-used container and artifact security scanner, contains a denial-of-service vulnerability in its Helm chart processing logic. When Trivy scans a malicious Helm chart archive (.tgz file), it decompresses the contents without enforcing memory limits, allowing an attacker to craft a small file that expands to gigabytes in memory. This causes the Trivy process to consume excessive RAM and be killed by the operating system, disrupting security scanning operations. The vulnerability affects versions prior to 0.71.0 and requires the attacker to have the ability to place a malicious .tgz file where Trivy will scan it.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-770, CWE-789
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-25 / 2026-06-26
NVD description (verbatim)
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.
4 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
Trivy's custom tar unpacker reads tar entries directly using io.ReadAll(tr) without implementing size constraints or decompression ratio checks. An attacker can craft a highly-compressed .tgz archive (zip bomb pattern) that decompresses to an enormous size, exhausting heap memory and triggering OOM termination. The vulnerability is rooted in CWE-770 (Allocation of Resources Without Limits) and CWE-789 (Memory Allocation with Excessive Size Value). Authentication is required only in the sense that the attacker must place the malicious file in a location Trivy will scan—no direct interaction with Trivy's network interface is needed. The CVSS 3.1 score of 6.5 reflects the availability impact and low attack complexity.
Business impact
Organizations relying on Trivy for continuous security scanning in CI/CD pipelines or registry monitoring may experience scanner unavailability and delayed security assessments. If Trivy runs as a service or in a shared container orchestration environment, the OOM condition can affect neighboring workloads. Repeated attacks could degrade supply chain security posture by preventing timely vulnerability detection. The impact is primarily operational availability rather than data breach risk.
Affected systems
Trivy versions prior to 0.71.0 are vulnerable. This includes all instances scanning Helm charts in environments where untrusted or attacker-controlled .tgz files may be present—typical in registry scanning, artifact scanning, or open-source dependency analysis workflows. Users who exclusively scan container images (not Helm charts) have a reduced attack surface but are still running vulnerable code.
Exploitability
Exploitation requires an attacker to place a malicious .tgz file in a location that Trivy will scan. This is feasible in scenarios where Trivy scans third-party Helm repositories, user-submitted artifacts, or supply chain artifacts from less-trusted sources. Attack complexity is low once file placement is possible. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog as of the publication date, though the technique is straightforward and no authentication to Trivy itself is required.
Remediation
Update Trivy to version 0.71.0 or later, which implements size limits in its tar unpacker. Organizations should prioritize this update in environments where Trivy scans untrusted or external Helm charts. Interim mitigation may include restricting Trivy's execution in sandboxed or resource-limited containers with aggressive OOM kill policies, though this does not address the root cause.
Patch guidance
Verify your Trivy installation version using `trivy version`. Upgrade to 0.71.0 or later via your package manager or by downloading the latest release from the official Aqua Security repository. Test the upgrade in a non-production environment first to ensure compatibility with your scanning workflows. Container users should pull the latest Trivy image tag (verify it corresponds to 0.71.0+) and redeploy.
Detection guidance
Monitor for Trivy process crashes or OOM events in logs and container orchestration platforms. Implement memory limits and alerts on Trivy pods or processes to catch abnormal resource consumption. Review scan job logs for unexpected terminations during Helm chart processing. In registry or artifact storage systems, audit for unusual .tgz file uploads that precede Trivy failures. Network-based detection is not applicable since the attack relies on file placement rather than network exploitation.
Why prioritize this
Although the CVSS score is moderate (6.5 MEDIUM), the vulnerability affects a critical security tool and is easily exploitable in supply-chain and multi-tenant scanning scenarios. Prioritize patching if Trivy scans external or untrusted Helm repositories or if it runs in shared infrastructure. Organizations scanning only internal, trusted artifacts have lower risk but should still update within standard maintenance windows.
Risk score, explained
CVSS 3.1 6.5 reflects a high availability impact (AV:N/AC:L/A:H) balanced against the requirement for the attacker to place a file in Trivy's scan path (PR:L contextually, as the attacker must have some ability to influence scanned content). No confidentiality or integrity impact occurs. The score appropriately captures a denial-of-service threat to a critical tool without inflating for speculative downstream effects.
Frequently asked questions
Can an attacker exploit this remotely over the network?
No. The attacker must place a malicious .tgz file in a location that Trivy will scan—such as a registry, artifact repository, or shared filesystem. Remote exploitation is not possible without prior file placement capability.
Does this affect Trivy when scanning container images instead of Helm charts?
Trivy will still contain the vulnerable code, but exploiting it requires the attacker to craft a malicious .tgz file. If your workflows scan only container images (not Helm charts), the attack surface is reduced but not eliminated.
What is the recommended update timeline?
Upgrade to 0.71.0 or later as soon as feasible, prioritizing environments that scan external or untrusted Helm sources. If Trivy scans only internal, controlled artifacts, standard maintenance windows are acceptable.
Can I limit memory to mitigate this before patching?
Running Trivy in a container with strict memory limits will cause the process to be killed, preventing cascading effects on other workloads. However, this does not solve the availability problem—the scanner will fail. Patching is the proper fix.
This analysis is provided for informational purposes and reflects the vulnerability details as of the publication date. Verify all patch versions, affected product lists, and vendor guidance against the official Aqua Security advisory and your own environment. No exploit code or weaponized proof-of-concept is provided. Organizations should validate patch compatibility and conduct testing before deployment in production. Source: NVD (public-domain), retrieved 2026-08-03. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2024-54178MEDIUMIBM Db2 Cloud Pak for Data Denial of Service via Resource Allocation Flaw
- CVE-2026-10533MEDIUMOpenShift ResourceQuota Bypass Leads to API Server DoS
- CVE-2026-10740MEDIUMs2n-quic Memory Allocation DoS – QUIC CRYPTO Frame Reassembler
- CVE-2026-12760MEDIUMTP-Link Tapo C200 v3 IPv4 Fragmentation DoS Vulnerability
- CVE-2026-1500MEDIUMGitLab Authenticated Denial of Service via Malicious File Upload
- CVE-2026-24720MEDIUMQNAP File Station 6 Resource Exhaustion Vulnerability
- CVE-2026-28237MEDIUMAMD uProf Resource Exhaustion Vulnerability – Patch Guidance
- CVE-2026-36499MEDIUMOpen vSwitch Thread Allocation DoS Vulnerability