# CVE-2026-46604: Panic decoding image with out-of-bounds strip offset in x/image/tiff in golang.org/x/image

> An attacker can cause a denial of service by providing a malformed TIFF image with an out-of-bounds strip offset to applications using the Go image library.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 26 Jun 2026
- **Updated:** 29 Jun 2026
- **Also known as:** CLEANSTART-2026-BV44413, CLEANSTART-2026-LA21918, DEBIAN-CVE-2026-46604, GO-2026-5066, MINI-3wqv-q7xr-pjv4, MINI-4w5j-cvwc-34g6, MINI-5293-5jjp-86c3, MINI-6gg4-xc89-6ccr, MINI-6xv9-prx8-c2mv, MINI-7p35-w7qj-73h2, MINI-7q9w-7p9m-2j5q, MINI-7qch-3qrf-rq6x, MINI-85rg-rwgr-vxh3, MINI-89qx-5prh-fv8h, MINI-93v2-89wf-437w, MINI-9cpr-q462-pjj3, MINI-9ggx-x5gc-2w69, MINI-c6f5-3v32-f763, MINI-ccpv-v2vv-xw38, MINI-ch3w-vxrq-7qc5, MINI-g674-f6qh-22g9, MINI-h5j9-8jpp-4cm3, MINI-hpcv-6x45-mhr6, MINI-jgp2-w89p-mpgq, MINI-jh38-6rf4-9c37, MINI-p75j-g4rx-hcgp, MINI-phv5-r7fj-j62v, MINI-pxgp-j3x2-hg84, MINI-qc8v-2657-fpg6, MINI-rhfh-324r-hcm9, MINI-rq88-xvxc-x5hr, MINI-v76v-6gwr-5pf9, MINI-vcx5-52qj-c2p4, MINI-w92v-8fjf-fgjg, UBUNTU-CVE-2026-46604, openSUSE-SU-2026:11155-1, openSUSE-SU-2026:11176-1, openSUSE-SU-2026:21230-1

## What is CVE-2026-46604?

CVE-2026-46604 is a high-severity denial of service vulnerability in golang.org/x/image/tiff, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

The TIFF decoder can panic when decoding an invalid image with an out-of-bounds strip offset.

Weakness: CWE-787 (Out-of-bounds Write)

## Which versions are affected by CVE-2026-46604?

1 open source package ship an affected version, including golang.org/x/image. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `golang.org/x/image` | Go | All versions | 0.43.0 |
| `keybase-client` | openSUSE:Leap 16.0 | All versions | 6.6.3-bp160.1.1 |
| `keybase-client` | openSUSE:Tumbleweed | All versions | 6.6.3-2.1 |
| `kitty` | openSUSE:Tumbleweed | All versions | 0.47.4-2.1 |

Products: Golang Tiff.

## How do I fix CVE-2026-46604?

Upgrade golang.org/x/image to 0.43.0 or later.

## Is CVE-2026-46604 being exploited?

There is no known exploitation of CVE-2026-46604 in the wild and no public exploit code.

## Other vulnerabilities in golang.org/x/image/tiff

- [CVE-2026-33809](https://insights.sbomify.com/CVE-2026-33809/): OOM from malicious IFD offset in golang.org/x/image/tiff (medium 5.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-46604 and fix it if it is affected.

What it is: CVE-2026-46604 is a high-severity denial of service vulnerability in golang.org/x/image/tiff, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-46604 in the wild and no public exploit code.

Affected packages and fixed versions:
- golang.org/x/image (Go): affected all versions; fixed in 0.43.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-46604/ (Markdown: https://insights.sbomify.com/CVE-2026-46604/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-46604
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-46604
- OSV: https://osv.dev/vulnerability/CVE-2026-46604

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-46604/
Summaries are generated and may contain mistakes; the official description above is the record.
