Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/anchore/syft
  4. ›
  5. CVE-2026-33481

CVE-2026-33481: Syft improper temporary file cleanup

March 20, 2026

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.

References

  • github.com/advisories/GHSA-rjcw-vg7j-m9rc
  • github.com/anchore/stereoscope/pull/537
  • github.com/anchore/syft
  • github.com/anchore/syft/pull/4629
  • github.com/anchore/syft/pull/4668
  • github.com/anchore/syft/security/advisories/GHSA-rjcw-vg7j-m9rc
  • nvd.nist.gov/vuln/detail/CVE-2026-33481

Code Behaviors & Features

Detect and mitigate CVE-2026-33481 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.42.3

Fixed versions

  • 1.42.3

Solution

Upgrade to version 1.42.3 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-460: Improper Cleanup on Thrown Exception

Source file

go/github.com/anchore/syft/CVE-2026-33481.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:18:45 +0000.