CVE-2026-46599
Deferred Deferred - Pending Action
TIFF Decoder PackBits Compression Denial of Service

Publication date: 2026-05-29

Last updated on: 2026-06-01

Assigner: Go Project

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-29
Last Modified
2026-06-01
Generated
2026-06-19
AI Q&A
2026-05-30
EPSS Evaluated
2026-06-18
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
golang go to 0.41.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The vulnerability affects the TIFF decoder in the Go programming language's x/image/tiff package. Specifically, the decoder does not impose a limit on the size of PackBits-compressed data. This means that a maliciously crafted TIFF image, which appears small in terms of pixel dimensions and encoded size, can exploit this flaw to cause the decoder to decompress and process a large amount of compressed data.

This lack of limitation can lead to excessive resource consumption such as high memory and CPU usage during the decoding process.

Impact Analysis

This vulnerability can impact you by causing excessive resource consumption when processing a maliciously crafted TIFF image. Even if the image file appears small, it can trigger the decoder to use large amounts of memory and CPU.

Such excessive resource usage could lead to performance degradation, denial of service, or crashes in applications that rely on the vulnerable TIFF decoder.

Mitigation Strategies

To mitigate this vulnerability, you should update the golang.org/x/image package to version v0.41.0 or later, where the TIFF decoder has been fixed to impose limits on the size of PackBits-compressed data.

This update prevents maliciously crafted TIFF images from causing excessive resource consumption during decompression.

Compliance Impact

The provided information does not specify any direct impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Detection Guidance

This vulnerability involves the TIFF decoder in the golang.org/x/image package processing PackBits-compressed data without size limits, which can cause excessive resource consumption when decoding maliciously crafted images.

To detect this vulnerability on your system, you should check the version of the golang.org/x/image package used by your applications. Versions before v0.41.0 are vulnerable.

Suggested commands to detect vulnerable versions:

  • If you have Go modules enabled, run: `go list -m all | grep golang.org/x/image` to see the version of the image package in use.
  • Check your application's dependencies for the x/image/tiff package version. If it is older than v0.41.0, it is vulnerable.

Additionally, monitoring for unusually high CPU or memory usage during TIFF image processing could indicate exploitation attempts, but no specific network detection commands are provided in the available resources.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46599. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart