CVE-2026-46599 PUBLISHED

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

Assigner: Go
Reserved: 15.05.2026 Published: 29.05.2026 Updated: 29.05.2026

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.

Product Status

Vendor golang.org/x/image
Product golang.org/x/image/tiff
Versions Default: unaffected
  • affected from 0 to 0.41.0 (excl.)

Credits

  • Uuganbayar Lkhamsuren

References

Problem Types

  • CWE-770: Allocation of Resources Without Limits or Throttling