Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. golang.org/x/image
  4. ›
  5. CVE-2026-46599

CVE-2026-46599: golang.org/x/image/tiff has excessive resource consumption in PackBits decompression

July 2, 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.

References

  • github.com/advisories/GHSA-q675-qj96-32m9
  • go.dev/cl/759960
  • go.dev/issue/79577
  • groups.google.com/g/golang-announce/c/uhYX90BlBvI
  • nvd.nist.gov/vuln/detail/CVE-2026-46599
  • pkg.go.dev/vuln/GO-2026-5032

Code Behaviors & Features

Detect and mitigate CVE-2026-46599 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 0.41.0

Fixed versions

  • 0.41.0

Solution

Upgrade to version 0.41.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

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

Source file

go/golang.org/x/image/CVE-2026-46599.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 18 Jul 2026 00:23:41 +0000.