CVE-2023-4863 Google Chromium WebP Heap-Based Buffer Overflow

Exploited in the wild High 8.8 Published Updated

Remote attackers can execute arbitrary code via crafted HTML pages exploiting a heap buffer overflow in the libwebp library.

Exploited in the wild
Since 13 Sep 2023
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-4863?

CVE-2023-4863 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 12 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Heap buffer overflow in libwebp in Google Chrome prior to 116.0.5845.187 and libwebp 1.3.2 allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page. (Chromium security severity: Critical)

Weakness: CWE-787

Which versions are affected by CVE-2023-4863?

40 open source packages ship an affected version, including electron, github.com/chai2010/webp and SkiaSharp. It affects 12 products.

PackageAffectedFixed in
electron npmFrom 22.0.022.3.24
electron npmFrom 22.0.022.3.24
electron npmFrom 24.0.024.8.3
electron npmFrom 24.0.024.8.3
electron npmFrom 25.0.025.8.1
electron npmFrom 25.0.025.8.1
34 more packages
electron npmFrom 26.0.026.2.1
electron npmFrom 26.0.026.2.1
github.com/chai2010/webp GoAll versions0.0.0-20250406010349-76805d5a8860
github.com/chai2010/webp GoAll versions0.0.0-20250406010349-76805d5a8860
github.com/chai2010/webp GoFrom 0.0.01.1.2-0.20250406010349-76805d5a8860
github.com/chai2010/webp GoFrom 0.0.01.1.2-0.20250406010349-76805d5a8860
github.com/chai2010/webp GoFrom 1.1.21.4.0
github.com/chai2010/webp GoFrom 1.1.21.4.0
SkiaSharp NuGetFrom 2.0.02.88.6
SkiaSharp NuGetFrom 2.0.02.88.6
magick.net-q16-anycpu NuGetAll versions13.3.0
magick.net-q16-anycpu NuGetAll versions13.3.0
magick.net-q16-hdri-anycpu NuGetAll versions13.3.0
magick.net-q16-hdri-anycpu NuGetAll versions13.3.0
magick.net-q16-x64 NuGetAll versions13.3.0
magick.net-q16-x64 NuGetAll versions13.3.0
magick.net-q8-anycpu NuGetAll versions13.3.0
magick.net-q8-anycpu NuGetAll versions13.3.0
magick.net-q8-openmp-x64 NuGetAll versions13.3.0
magick.net-q8-openmp-x64 NuGetAll versions13.3.0
magick.net-q8-x64 NuGetAll versions13.3.0
magick.net-q8-x64 NuGetAll versions13.3.0
Pillow PyPIAll versions10.0.1
opencv-contrib-python PyPIAll versions4.8.1.78
opencv-contrib-python-headless PyPIAll versions4.8.1.78
opencv-python PyPIAll versions4.8.1.78
opencv-python-headless PyPIAll versions4.8.1.78
pillow PyPIAll versions10.0.1
libwebp-sys crates.ioAll versions0.9.3
libwebp-sys crates.ioAll versions0.9.3
libwebp-sys2 crates.ioAll versions0.1.8
libwebp-sys2 crates.ioAll versions0.1.8
webp crates.ioAll versions0.2.6
webp crates.ioAll versions0.2.6

Products include Bandisoft Honeyview, Bentley Seequent Leapfrog, Debian Debian Linux, Fedoraproject Fedora, Google Chrome, Microsoft Edge Chromium and 6 more.

How do I fix CVE-2023-4863?

Upgrade electron to a fixed version for your release line: 22.3.24, 24.8.3, 25.8.1 or 26.2.1. US federal agencies must fix it by 4 Oct 2023.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-4863 being exploited?

Yes. Attackers have exploited CVE-2023-4863 in the wild since at least 13 Sep 2023.

Public exploit code: 14 proofs of concept on GitHub.

Sources

Also known as A-299477569, ALPINE-CVE-2023-4863, ALSA-2023:5184, ALSA-2023:5200, ALSA-2023:5201, ALSA-2023:5214 and 56 more.

Is CVE-2023-4863 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free