CVE-2023-4863: Heap Buffer Overflow in libwebp Lossless WebP Decoding
- Vendors
- NetAppGoogleDebian ProjectFaradayMicrosoft CorporationFedora ProjectMozillaBandisoft
CVE-2023-4863 is a heap-based buffer overflow in libwebp's lossless WebP decoder, affecting upstream versions before 1.3.2 and Google Chrome before 116.0.5845.187. Insufficient bounds validation during Huffman table construction allows specially crafted image data to require more table entries than the preallocated heap buffer can accommodate. BuildHuffmanTable, through ReplicateValue, can write beyond that allocation before malformed tables are rejected. An attacker can reach the vulnerable decoder through a malicious WebP image, including an image embedded in a crafted HTML page. The vulnerability affects browsers and other applications incorporating vulnerable libwebp copies and can lead to arbitrary code execution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can corrupt heap memory, crash the decoding application, or execute arbitrary code with the privileges of the process performing image decoding. Code execution can compromise data confidentiality and integrity and disrupt service availability. The ultimate security boundary depends on the embedding application and its sandboxing; this vulnerability alone does not establish a universal browser sandbox escape or privilege escalation. Exploitation in the wild has been confirmed.
Mitigation
If you can’t patch tonight, do this now.
Until updates are deployed, disable WebP decoding or prevent untrusted image data from reaching affected decoding workflows. Do not rely solely on filename extensions or declared MIME types to identify WebP input; inspect the actual format. Restrict untrusted web-content rendering in embedded browsers. For affected Imageflow deployments, disable the WebP decoder. For HCL Digital Experience, disable Digital Asset Management and Image Processor, or block external HTTP POST and PUT access to those components and prohibit internal uploads of untrusted WebP images. Discontinue exposed affected workflows if neither patching nor effective input restrictions are available.
Remediation
Patch, then assume compromise.
Upgrade libwebp to version 1.3.2 or later, or install a vendor-supported package containing the backported fix. Update Chrome to 116.0.5845.187 or later and other affected browsers and applications to their vendor-designated fixed releases. Replace or rebuild affected bundled and statically linked copies, including those embedded in language packages, application runtimes, and container images; updating the system library alone may not correct these copies. Verify that the application actually loads or incorporates corrected code rather than relying solely on dependency metadata or upstream version strings. Product-specific fixes include HCL BigFix Self-Service Application 3.2.5, HCL Digital Experience CF215, and CefSharp 116.0.230.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 14 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-4863 exploited in the wild?
- Yes. As of Nov 27, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 13, 2023.
- Is there a public exploit for CVE-2023-4863?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2023-4863, the earliest disclosed Nov 11, 2023.
- Is there a patch for CVE-2023-4863?
- Upgrade libwebp to version 1.3.2 or later, or install a vendor-supported package containing the backported fix. Update Chrome to 116.0.5845.187 or later and other affected browsers and applications to their vendor-designated fixed releases.
- What products are affected by CVE-2023-4863?
- Google Chrome, Webmproject Libwebp, NetApp Activeiq Unified Manager, Debian Project Debian Linux, Faraday Edge, and 8 more.
- How severe is CVE-2023-4863?
- CVE-2023-4863 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 52.8% (99th percentile) as of Nov 27, 2026.
Recent activity
51 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.