GitHub Advisoryadvisory · Go

GHSA-q675-qj96-32m9 golang.org/x/image/tiff has excessive resource consumption in PackBits decompression

HIGH Published 2026-07-02 Modified 2026-07-02 Official page ↗
Aliases
CVE-2026-46599
Ecosystem
Go
Packages
golang.org/x/image
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-770
Reviewed
2026-07-02

Affected packages

• Go golang.org/x/image: < 0.41.0 → fixed in 0.41.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-46599 The TIFF decoder does not place a limit on the size of PackBits-compressed data. vulnerability

Weakness · CWE (1)

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

References