FlawAtlas
Search the atlas
CVE-2026-33481 Moderate

Syft improper temporary file cleanup in github.com/anchore/syft

Syft improper temporary file cleanup in github.com/anchore/syft

Exploit probability 0.4%
Published March 23, 2026
Required by Not available
Last source change March 24, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

254 explicit affected versions

Go github.com/anchore/syft
Go github.com/anchore/syft

03 / CONNECTIONS

Connected vulnerabilities

related OPENSUSE-SU-2026:21483-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities GHSA-rjcw-vg7j-m9rc

### Impact 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. ### Patches The patch has been released in v1.42.3 Syft now cleans up temporary files when an error condition is encountered. ### Workarounds There are no workarounds for this vulnerability in Syft. Users that find their temporary storage depleted can manually remove the temporary files.

View original source
Open Source Vulnerabilities GO-2026-4809

Syft improper temporary file cleanup in github.com/anchore/syft

View original source
Open Source Vulnerabilities CVE-2026-33481

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.

View original source

05 / REFERENCES

Further evidence