Description
The webp decoder can panic when processing a VP8 chunk with dimensions that do not match the canvas size.
Published: 2026-06-25
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The golang.org/x/image/webp decoder can panic when it encounters a VP8 chunk whose declared dimensions do not match the overall canvas size. This panic results in an unhandled crash of the decoding process, leading to denial of service for any application that processes such malicious .webp files. The vulnerability arises from improper input validation of the image data, a weakness that can be abused by supplying crafted files.

Affected Systems

The affected component is the golang.org/x/image/webp package from the Go x/image repository. No specific versions are listed in the CVE entry, thus any release that contains the vulnerable decoder before the fix is considered impacted. Applications that depend on this package for reading WebP images should verify their installed version against the vendor’s release notes.

Risk and Exploitability

No CVSS score is provided, and the EPSS metric is unavailable, but the nature of the vulnerability suggests a moderate to high risk in contexts where untrusted images are accepted. The vulnerability is not listed in CISA’s KEV catalog, indicating that no widespread exploitation has been reported yet. An attacker could trigger a crash by sending a specially crafted WebP image, but the vector requires the image to be processed by the vulnerable decoder.

Generated by OpenCVE AI on June 25, 2026 at 22:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update golang.org/x/image/webp to the latest released version that contains the decoder patch.
  • If an immediate update is not possible, isolate the decoding process in a sandboxed environment to contain any crashes.
  • Implement application-level validation that rejects or sanitizes WebP images whose VP8 chunk dimensions do not match the canvas size.
  • Consider disabling WebP support entirely or switching to a verified image library until the vendor releases an official fix.

Generated by OpenCVE AI on June 25, 2026 at 22:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 25 Jun 2026 22:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

Thu, 25 Jun 2026 20:00:00 +0000

Type Values Removed Values Added
Description The webp decoder can panic when processing a VP8 chunk with dimensions that do not match the canvas size.
Title Panic on VP8 alpha channel size mismatch in x/image/webp in golang.org/x/image
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-06-25T19:47:21.500Z

Reserved: 2026-05-15T17:35:00.814Z

Link: CVE-2026-46601

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T22:15:04Z

Weaknesses
  • CWE-20

    Improper Input Validation