Skip to main content

CVE-2023-4863 (WebP 0-day) — libwebp: OOB write in libwebp-sys2

HIGH
Actively Exploited

libwebp: OOB write in BuildHuffmanTable

Published September 12, 2023Updated September 10, 2026Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected Magick.NET-Q8-OpenMP-x64 version?

Paste your packages.lock.json to check it for CVE-2023-4863 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

Heap buffer overflow in libwebp allow a remote attacker to perform an out of bounds memory write via a crafted HTML page.

Advisory Timeline

  • First published September 12, 2023 (1171 days ago).
  • Last revised September 10, 2026 — 1094 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 0 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update libwebp-sys2 to 0.1.8 or later
cargo update -p libwebp-sys2 --precise 0.1.8
Cargo
Update libwebp-sys to 0.9.3 or later
cargo update -p libwebp-sys --precise 0.9.3
npm
Update electron to 25.8.1 or later
npm install electron@25.8.1
npm
Update electron to 22.3.24 or later
npm install electron@22.3.24
npm
Update electron to 24.8.3 or later
npm install electron@24.8.3
NuGet
Update magick.net-q8-openmp-x64 to 13.3.0 or later
dotnet add package magick.net-q8-openmp-x64 --version 13.3.0
Go
Update github.com/chai2010/webp to 1.1.2-0.20250406010349-76805d5a8860 or later
go get github.com/chai2010/webp@v1.1.2-0.20250406010349-76805d5a8860
NuGet
Update SkiaSharp to 2.88.6 or later
dotnet add package SkiaSharp --version 2.88.6
NuGet
Update magick.net-q16-anycpu to 13.3.0 or later
dotnet add package magick.net-q16-anycpu --version 13.3.0
NuGet
Update magick.net-q16-x64 to 13.3.0 or later
dotnet add package magick.net-q16-x64 --version 13.3.0
NuGet
Update magick.net-q8-x64 to 13.3.0 or later
dotnet add package magick.net-q8-x64 --version 13.3.0
npm
Update electron to 27.0.0-beta.2 or later
npm install electron@27.0.0-beta.2
npm
Update electron to 26.2.1 or later
npm install electron@26.2.1
Go
Update github.com/chai2010/webp to 1.4.0 or later
go get github.com/chai2010/webp@v1.4.0
NuGet
Update magick.net-q16-hdri-anycpu to 13.3.0 or later
dotnet add package magick.net-q16-hdri-anycpu --version 13.3.0
Go
Update github.com/chai2010/webp to 0.0.0-20250406010349-76805d5a8860 or later
go get github.com/chai2010/webp@v0.0.0-20250406010349-76805d5a8860
Cargo
Update webp to 0.2.6 or later
cargo update -p webp --precise 0.2.6
NuGet
Update magick.net-q8-anycpu to 13.3.0 or later
dotnet add package magick.net-q8-anycpu --version 13.3.0
pip
Update pillow to 10.0.1 or later
pip install "pillow>=10.0.1"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (19)

Affects 5 ecosystems: NuGet (7), crates.io (3), Go (1), npm (1), PyPI (1).

PackageFixed In
libwebp-sys2 crates.io · Affected: All versions0.1.8
libwebp-sys crates.io · Affected: All versions0.9.3
electron npm · Affected: All versions25.8.1
electron npm · Affected: All versions22.3.24
electron npm · Affected: All versions24.8.3
magick.net-q8-openmp-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+77 more)13.3.0
github.com/chai2010/webp Go · Affected: All versions1.1.2-0.20250406010349-76805d5a8860
SkiaSharp NuGet · Affected: 2.80.0, 2.80.1, 2.80.2, 2.80.3 (+7 more)2.88.6
magick.net-q16-anycpu NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+180 more)13.3.0
magick.net-q16-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+196 more)13.3.0
magick.net-q8-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+196 more)13.3.0
electron npm · Affected: All versions27.0.0-beta.2
electron npm · Affected: All versions26.2.1
github.com/chai2010/webp Go · Affected: All versions1.4.0
magick.net-q16-hdri-anycpu NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+177 more)13.3.0
github.com/chai2010/webp Go · Affected: All versions0.0.0-20250406010349-76805d5a8860
webp crates.io · Affected: All versions0.2.6
magick.net-q8-anycpu NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+180 more)13.3.0
pillow PyPI · Affected: 1.0, 1.1, 1.2, 1.3 (+89 more)10.0.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-787
    Out-of-bounds WriteMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References

Frequently Asked Questions

What is CVE-2023-4863?
libwebp: OOB write in BuildHuffmanTable. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2023-4863?
CVE-2023-4863 affects libwebp-sys2, libwebp-sys and electron (and 10 more). It has a 52.8% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-4863 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
52.84%
EPSS percentile: 99.2

This places it in the top 5% of EPSS-scored vulnerabilities — 99.2% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: September 13, 2023

Remediation deadline: October 4, 2023

Also Known As

GHSA-j7hp-h8jx-5ppr
A-299477569
ASB-A-299477569
CVE-2023-5129
PYSEC-2026-1794
RUSTSEC-2023-0060
RUSTSEC-2023-0061

Related CVEs

  • CVE-2026-54257
    CRITICAL

    Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

  • CVE-2026-102676
    HIGH

    Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions

  • CVE-2026-102674
    HIGH

    Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions

  • CVE-2026-102673
    HIGH

    Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab

  • CVE-2026-34780
    HIGH

    Electron: Context Isolation bypass via contextBridge VideoFrame transfer

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json