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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-03-20T20:46:29.000Z
- Modified: 2026-09-10T03:50:40.814Z
- Also known as: GHSA-rjcw-vg7j-m9rc, GO-2026-4809
- Related: CGA-2xgg-hjhh-f28h
- Weaknesses: CWE-460
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- anchore syft: < 1.42.3; before 1.42.3
- github.com/anchore/syft (Go): before 1.42.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/anchore/syft/security/advisories/GHSA-rjcw-vg7j-m9rc> (advisory, patch, vendor-advisory, web)
- <https://github.com/anchore/stereoscope/pull/537> (issue-tracking, patch, web)
- <https://github.com/anchore/syft/pull/4629> (fix, issue-tracking, patch, web)
- <https://github.com/anchore/syft/pull/4668> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33481> (advisory)
- <https://github.com/anchore/syft> (package)

## Sources

- CVE List: [CVE-2026-33481](https://www.cve.org/CVERecord?id=CVE-2026-33481), CVE Terms of Use, modified 2026-03-27
- GitHub Advisory Database: [GHSA-rjcw-vg7j-m9rc](https://github.com/advisories/GHSA-rjcw-vg7j-m9rc), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-4809](https://pkg.go.dev/vuln/GO-2026-4809), CC-BY-4.0, modified 2026-03-24
- NVD: [CVE-2026-33481](https://nvd.nist.gov/vuln/detail/CVE-2026-33481), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33481 · Whole record: https://cve.day/CVE-2026-33481.json · Rebuilt by cve.day 2026-11-25T22:59:17.081Z
