Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33481: CWE-460: Improper Cleanup on Thrown Exception in anchore syft

0
Medium
VulnerabilityCVE-2026-33481cvecve-2026-33481cwe-460
Published: Thu Mar 26 2026 (03/26/2026, 17:10:31 UTC)
Source: CVE Database V5
Vendor/Project: anchore
Product: syft

Description

Syft is a a CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems. Syft versions before v1.42.3 would not properly cleanup temporary storage if the temporary storage was exhausted during a scan. When scanning archives Syft will unpack those archives into temporary storage then inspect the unpacked contents. Under normal operation Syft will remove the temporary data it writes after completing a scan. This vulnerability would affect users of Syft that were scanning content that could cause Syft to fill the temporary storage that would then cause Syft to raise an error and exit. When the error is triggered Syft would exit without properly removing the temporary files in use. In our testing this was most easily reproduced by scanning very large artifacts or highly compressed artifacts such as a zipbomb. Because Syft would not clean up its temporary files, the result would be filling temporary file storage preventing future runs of Syft or other system utilities that rely on temporary storage being available. The patch has been released in v1.42.3. Syft now cleans up temporary files when an error condition is encountered. There are no workarounds for this vulnerability in Syft. Users that find their temporary storage depleted can manually remove the temporary files.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/26/2026, 18:02:25 UTC

Technical Analysis

Anchore Syft is a widely used CLI tool and Go library designed to generate Software Bill of Materials (SBOM) from container images and filesystems. In versions before 1.42.3, Syft unpacks scanned archives into temporary storage to analyze their contents. During scanning, if the temporary storage becomes fully consumed—such as when processing very large files or highly compressed artifacts like zip bombs—Syft raises an error and exits. However, due to improper exception handling (classified as CWE-460: Improper Cleanup on Thrown Exception), Syft fails to remove the temporary files it created before exiting. This results in leftover temporary data that continues to consume storage space. Over time, this accumulation can exhaust the temporary storage partition, preventing Syft and other system utilities that depend on temporary storage from functioning correctly. The vulnerability does not expose confidential data or allow integrity compromise but impacts system availability by causing resource exhaustion. The issue requires no privileges or user interaction to exploit, making it relatively easy to trigger if malicious or malformed inputs are scanned. The vendor released a patch in version 1.42.3 that ensures temporary files are cleaned up even when errors occur during scanning. No known exploits are reported in the wild, but the vulnerability poses a risk to environments that use Syft extensively for SBOM generation, especially with large or suspicious artifacts.

Potential Impact

The primary impact of CVE-2026-33481 is on system availability. Organizations relying on Syft for SBOM generation may experience denial of service conditions on the host system due to exhaustion of temporary storage. This can halt not only Syft scans but also other critical system processes and utilities that require temporary storage, potentially disrupting CI/CD pipelines, vulnerability management workflows, and compliance auditing processes. While the vulnerability does not compromise confidentiality or integrity, the operational disruption can delay security assessments and software supply chain transparency efforts. Environments processing large container images, archives, or untrusted compressed files are particularly at risk. Persistent depletion of temporary storage may require manual intervention to clear files, increasing operational overhead and risk of downtime. Although no exploits are currently known in the wild, attackers could leverage this vulnerability to cause resource exhaustion as part of a denial-of-service attack against development or security infrastructure.

Mitigation Recommendations

To mitigate this vulnerability, organizations should upgrade Anchore Syft to version 1.42.3 or later, where proper cleanup of temporary files on error conditions is implemented. Until upgrading, users should monitor the usage of temporary storage partitions closely, especially when scanning large or highly compressed artifacts. Implement automated cleanup scripts or scheduled jobs to remove stale temporary files created by Syft scans to prevent storage exhaustion. Limit the size and type of artifacts scanned by Syft by applying input validation or pre-scanning filters to avoid processing zip bombs or unusually large archives. Consider isolating Syft scans in containerized or sandboxed environments with dedicated temporary storage quotas to contain potential resource exhaustion. Additionally, integrate monitoring and alerting on temporary storage utilization to detect abnormal growth early. Educate users and administrators about the risk of scanning untrusted or malformed archives that could trigger this issue. Finally, review and improve exception handling and resource cleanup policies in custom integrations or automation that invoke Syft.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-20T16:16:48.970Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c570d8f4197a8e3bef1ef2

Added to database: 3/26/2026, 5:46:00 PM

Last enriched: 3/26/2026, 6:02:25 PM

Last updated: 3/26/2026, 7:38:59 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses