golang.org/x/image/tiff has excessive resource consumption in PackBits decompression (CVE-2026-46599)
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.
AI Analysis
Technical Summary
The golang.org/x/image/tiff package contains a vulnerability (CVE-2026-46599) where the TIFF decoder fails to impose limits on the size of PackBits-compressed data. This flaw allows an attacker to craft a TIFF image that appears small but decompresses into a large amount of data, causing excessive resource consumption during decoding. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). No official remediation or patch is currently documented. The affected versions are all versions prior to 0.41.0.
Potential Impact
An attacker can exploit this vulnerability to cause a denial of service by forcing the TIFF decoder to consume excessive CPU and memory resources during decompression. This does not impact confidentiality or integrity but results in availability degradation of applications using the vulnerable TIFF decoder.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted TIFF images with PackBits compression using affected versions of golang.org/x/image/tiff. Consider implementing external resource limits or timeouts on image decoding operations to mitigate potential resource exhaustion.
golang.org/x/image/tiff has excessive resource consumption in PackBits decompression (CVE-2026-46599)
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The golang.org/x/image/tiff package contains a vulnerability (CVE-2026-46599) where the TIFF decoder fails to impose limits on the size of PackBits-compressed data. This flaw allows an attacker to craft a TIFF image that appears small but decompresses into a large amount of data, causing excessive resource consumption during decoding. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). No official remediation or patch is currently documented. The affected versions are all versions prior to 0.41.0.
Potential Impact
An attacker can exploit this vulnerability to cause a denial of service by forcing the TIFF decoder to consume excessive CPU and memory resources during decompression. This does not impact confidentiality or integrity but results in availability degradation of applications using the vulnerable TIFF decoder.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid processing untrusted TIFF images with PackBits compression using affected versions of golang.org/x/image/tiff. Consider implementing external resource limits or timeouts on image decoding operations to mitigate potential resource exhaustion.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-05-15T17:35:00.813Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Gcve Source
- db.gcve.eu
Threat ID: 6a19feb5e29bf47b500fc5eb
Added to database: 05/29/2026, 21:01:41 UTC
Last enriched: 07/02/2026, 23:47:01 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 77
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.