# CVE-2026-33813: Panic when decoding large WEBP image on 32-bit platforms in golang.org/x/image

> An attacker can cause a denial of service by providing a malformed WEBP image to applications using the Go image library on 32-bit platforms.

- **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:** 21 Apr 2026
- **Updated:** 25 Jun 2026
- **Also known as:** CLEANSTART-2026-CD57070, CLEANSTART-2026-HU95465, DEBIAN-CVE-2026-33813, GO-2026-4961, MINI-45jh-24p6-pv8p, MINI-4c2f-r7cp-pw32, MINI-56f4-r8x4-w5mg, MINI-7m2x-r8q7-r4x5, MINI-7wcf-fpr8-m3rw, MINI-8ff2-w5c7-8rp4, MINI-8mc5-j3v8-gr8w, MINI-9cw7-w333-3p9x, MINI-cpg9-r7xj-g7wm, MINI-fp5q-j228-47wh, MINI-fqph-fx5p-g4cj, MINI-g425-2ggc-87ph, MINI-h8rg-gj59-j59c, MINI-hr68-m3m6-xwrw, MINI-j446-46w4-pj5f, MINI-j7hw-vvv7-hhcp, MINI-j7wq-cc24-jfwp, MINI-p3gr-pg7v-3f68, MINI-pwf6-vrw7-fx5j, MINI-q4r2-6g9w-mgv4, MINI-qfmw-4qwm-gq2c, MINI-vcm3-gcm2-xfx2, MINI-vwfv-phwv-v426, MINI-w43w-w3wp-5fjr, MINI-wj2g-7fwr-2wg4, MINI-wrc4-rpx4-cvc5, MINI-xfgm-8hjw-8gw5, MINI-xgrp-6x4x-4w43, UBUNTU-CVE-2026-33813

## What is CVE-2026-33813?

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

### Official description

Parsing a WEBP image with an invalid, large size panics on 32-bit platforms.

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

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.42.0 |

Products: Golang Image.

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

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

## Is CVE-2026-33813 being exploited?

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

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

- [CVE-2026-33812](https://insights.sbomify.com/CVE-2026-33812/): Excessive memory allocation when decoding malicious SFNT in golang.org/x/image (medium 6.1)

## Fix prompt for AI coding agents

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

What it is: CVE-2026-33813 is a high-severity denial of service vulnerability in golang.org/x/image/webp, published on 21 Apr 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-33813 in the wild and no public exploit code.

Affected packages and fixed versions:
- golang.org/x/image (Go): affected all versions; fixed in 0.42.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-33813/ (Markdown: https://insights.sbomify.com/CVE-2026-33813/index.md)
```

## Sources

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

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