Vulnerability DatabaseGHSA-4vjr-crvh-383h

GHSA-4vjr-crvh-383h
JavaScript vulnerability analysis and mitigation

Overview

A critical heap buffer overflow vulnerability (CVE-2023-4863) was discovered in the WebP image library, affecting the lossless compression functionality. The vulnerability was initially reported by Apple's Security Engineering and Architecture (SEAR) team to Google Chrome team in early September 2023. The issue affects multiple software products that use the libwebp library for processing WebP images, including Chrome, iOS, and Android devices (Isosceles Blog).

Technical details

The vulnerability exists in the BuildHuffmanTable function within the lossless compression (VP8L) support of WebP. The issue occurs during the Huffman coding process where the code uses pre-calculated buffer sizes from a fixed table and constructs Huffman tables directly into that allocation without proper size validation. This can lead to an out-of-bounds write when processing specially crafted WebP images. The vulnerability has been assigned a CVSS score of 8.8 (High), with attack vector being Network, attack complexity Low, and requiring user interaction (GitHub Advisory).

Impact

The vulnerability allows remote attackers to perform out-of-bounds memory writes via crafted WebP images, potentially leading to code execution. The impact is particularly severe as it affects multiple platforms and applications that process WebP images, including major browsers and mobile operating systems. The vulnerability has been confirmed to be exploited in the wild as part of sophisticated attack chains (Isosceles Blog).

Mitigation and workarounds

The vulnerability has been patched in libwebp with a fix that implements a 'first pass' construction to calculate the total size required for the output table before actual allocation and writing. Various affected vendors have released updates: Chrome has released an urgent patch, Apple has issued security updates for iOS and macOS, and other dependent packages have also been updated. Users are strongly advised to update their systems and applications to the latest versions (GitHub Advisory).

Community reactions

The discovery of this vulnerability has sparked significant discussion in the security community, particularly regarding the challenges of finding such complex vulnerabilities through automated fuzzing. The quick response from major vendors like Google and Apple in patching the vulnerability has been noted, though concerns have been raised about the potential impact on Android devices which may take longer to receive updates (Isosceles Blog).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management