# CVE-2026-46602: Go x/image/tiff unbounded memory consumption in TIFF decoder

Source: https://junglewise.ai/threats/cve-2026-46602-go-x-image-tiff-unbounded-memory-consumption-in-tiff-decoder  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-25. Updated: 2026-06-25  
License: CC BY 4.0 with a link back

CVE-2026-46602 · Severity: info · CVSS 0 · Published 2026-06-25

A vulnerability in the Go programming language's TIFF image processing library allows for a denial-of-service attack. By providing a specially crafted or corrupt TIFF image with excessively large internal 'tiles,' an attacker can force the application to consume all available system memory. This can lead to application crashes, service outages, and general system instability.

Technologies: [golang.org/x/image (Go)](https://junglewise.ai/threats/technologies/golang-org-x-image). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2026-46602 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-46602 being exploited in the wild.

**How severe is CVE-2026-46602?** Informational severity, with a CVSS score of 0, published 25 June 2026.

**Which products and versions are affected?** golang.org/x/image (Go) SEMVER:introduced=0,fixed=0.43.0.

**Is there a fix for CVE-2026-46602?** Yes. golang.org/x/image (Go): upgrade to 0.43.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-46602 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-46602?** Check whether you run golang.org/x/image (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- golang.org/x/image (Go): upgrade to 0.43.0 or later

  ```sh
  go get golang.org/x/image@v0.43.0
  ```


## Technical details

The vulnerability is an uncontrolled resource consumption issue within the TIFF decoder of the golang.org/x/image/tiff package. Specifically, the decoder fails to validate or limit the dimensions of tiles within tiled TIFF images, which can be defined as larger than the actual image dimensions. An attacker can exploit this by providing a malicious TIFF file that, when processed by the Decode function, triggers unbounded memory allocation. This can result in a Denial of Service (DoS) via memory exhaustion. The issue is fixed in version 0.43.0 of the package.

## Affected products

- Go Project golang.org/x/image/tiff < 0.43.0

## Identifiers

- CVE-2026-46602
- GO-2026-5062

## Timeline

- 2026-06-08: disclosed: Issue reported to Go project
- 2026-06-18: advisory: Go Vulnerability Database entry published
- 2026-06-25: advisory: NVD entry published

## References

- [https://pkg.go.dev/](https://pkg.go.dev/)
- [https://go.dev/cl/788422](https://go.dev/cl/788422)
- [https://go.dev/issue/79905](https://go.dev/issue/79905)
- [https://pkg.go.dev/vuln/GO-2026-5062](https://pkg.go.dev/vuln/GO-2026-5062)

## Related threats

- [GO-2026-6222 - Excessive memory allocation during VP8L decoding in golang.org/x/image](https://junglewise.ai/threats/cve-2026-46603-go-2026-6222-excessive-memory-allocation-during-vp8l-decoding-in)
- [Go x/image/tiff denial of service via out-of-bounds strip offset](https://junglewise.ai/threats/cve-2026-46604-go-x-image-tiff-denial-of-service-via-out-of-bounds-strip-offset)
- [Go x/image/webp denial of service via mismatched VP8 dimensions](https://junglewise.ai/threats/cve-2026-46601-go-x-image-webp-denial-of-service-via-mismatched-vp8-dimensions)
- [Go x/image/tiff resource exhaustion in PackBits decompression](https://junglewise.ai/threats/cve-2026-46599-go-x-image-tiff-resource-exhaustion-in-packbits-decompression)
- [Go x/image panic in BMP decoder](https://junglewise.ai/threats/cve-2026-42500-go-x-image-panic-in-bmp-decoder)
