Advisory

GO-2026-5032

Also known as: CVE-2026-46599, GHSA-q675-qj96-32m9

Summary

Excessive resource consumption in PackBits decompression in golang.org/x/image/tiff

Details

The TIFF decoder does not place a limit on the size of PackBits-compressed data. A maliciously-crafted image can exploit this to cause a small image (both in terms of pixel width/height and encoded size) to make the decoder decode large amounts of compressed data.

Severity

Not rated by the source.

Dates

Published
2026-05-29 19:17 UTC
Modified
2026-07-02 21:26 UTC

Affected packages and fixes

golang.org/x/image

Go · All systems

Affected

  • introduced 0, fixed 0.41.0 (semver)

Fixed versions

0.41.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences