webp: reject VP8X headers with too-large canvases RFC 9649 states that the canvas width * height must be at most 2^32-1. Enforce this. This avoids creating an invalid image (which will panic when manipulated) when decoding a too-large image on 32-bit platforms. https://www.rfc-editor.org/rfc/rfc9649.html#section-2.7-12 Fixes golang/go#78407 Fixes CVE-2026-33813 Change-Id: I7e2b68374681da4f72ee51ebfd8833006a6a6964 Reviewed-on: https://go-review.googlesource.com/c/image/+/759860 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Neal Patel <nealpatel@google.com>
This repository holds supplementary Go image packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/image.
The main issue tracker for the image repository is located at https://go.dev/issues. Prefix your issue with “x/image:” in the subject line, so it is easy to find.