CVE-2023-4863 (WebP 0-day) — libwebp: OOB write in libwebp-sys2
libwebp: OOB write in BuildHuffmanTable
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.
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 -p libwebp-sys2 --precise 0.1.8
cargo update -p libwebp-sys --precise 0.9.3
npm install electron@25.8.1
npm install electron@22.3.24
npm install electron@24.8.3
dotnet add package magick.net-q8-openmp-x64 --version 13.3.0
go get github.com/chai2010/webp@v1.1.2-0.20250406010349-76805d5a8860
dotnet add package SkiaSharp --version 2.88.6
dotnet add package magick.net-q16-anycpu --version 13.3.0
dotnet add package magick.net-q16-x64 --version 13.3.0
dotnet add package magick.net-q8-x64 --version 13.3.0
npm install electron@27.0.0-beta.2
npm install electron@26.2.1
go get github.com/chai2010/webp@v1.4.0
dotnet add package magick.net-q16-hdri-anycpu --version 13.3.0
go get github.com/chai2010/webp@v0.0.0-20250406010349-76805d5a8860
cargo update -p webp --precise 0.2.6
dotnet add package magick.net-q8-anycpu --version 13.3.0
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).
| Package | Fixed In |
|---|---|
| libwebp-sys2 crates.io · Affected: All versions | 0.1.8 |
| libwebp-sys crates.io · Affected: All versions | 0.9.3 |
| electron npm · Affected: All versions | 25.8.1 |
| electron npm · Affected: All versions | 22.3.24 |
| electron npm · Affected: All versions | 24.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 versions | 1.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 versions | 27.0.0-beta.2 |
| electron npm · Affected: All versions | 26.2.1 |
| github.com/chai2010/webp Go · Affected: All versions | 1.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 versions | 0.0.0-20250406010349-76805d5a8860 |
| webp crates.io · Affected: All versions | 0.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-787Out-of-bounds WriteMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-4863ADVISORY
- https://github.com/qnighy/libwebp-sys2-rs/pull/21WEB
- https://github.com/python-pillow/Pillow/pull/7395WEB
- https://github.com/jaredforth/webp/pull/30WEB
- https://github.com/electron/electron/pull/39823WEB
- https://github.com/electron/electron/pull/39825WEB
- https://github.com/electron/electron/pull/39826WEB
- https://github.com/electron/electron/pull/39827WEB
- https://github.com/electron/electron/pull/39828WEB
- https://github.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17aWEB
- https://github.com/qnighy/libwebp-sys2-rs/commit/4560c473a76ec8bd8c650f19ddf9d7a44f719f8bWEB
- https://github.com/jaredforth/webp/commit/9d4c56e63abecc777df71c702503c3eaabd7dcbcWEB
- https://security.gentoo.org/glsa/202401-10WEB
- https://security.gentoo.org/glsa/202309-05WEB
- https://security-tracker.debian.org/tracker/CVE-2023-4863WEB
- https://rustsec.org/advisories/RUSTSEC-2023-0061.htmlWEB
- https://rustsec.org/advisories/RUSTSEC-2023-0060.htmlWEB
- https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html#securityWEB
- https://news.ycombinator.com/item?id=37478403WEB
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-4863WEB
- https://adamcaudill.com/2023/09/14/whose-cve-is-it-anywayWEB
- https://security.netapp.com/advisory/ntap-20230929-0011WEB
- https://sethmlarson.dev/security-developer-in-residence-weekly-report-16WEB
- https://stackdiary.com/critical-vulnerability-in-webp-codec-cve-2023-4863WEB
- https://www.bentley.com/advisories/be-2023-0001WEB
- https://www.bleepingcomputer.com/news/google/google-fixes-another-chrome-zero-day-bug-exploited-in-attacksWEB
- https://www.debian.org/security/2023/dsa-5496WEB
- https://www.debian.org/security/2023/dsa-5497WEB
- https://www.debian.org/security/2023/dsa-5498WEB
- https://www.mozilla.org/en-US/security/advisories/mfsa2023-40WEB
- https://www.vicarius.io/vsociety/posts/zero-day-webp-vulnerability-cve-2023-4863WEB
- https://blog.isosceles.com/the-webp-0dayWEB
- https://bugzilla.suse.com/show_bug.cgi?id=1215231WEB
- https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.htmlWEB
- https://crbug.com/1479274WEB
- https://en.bandisoft.com/honeyview/historyWEB
- https://github.com/ImageMagick/ImageMagick/discussions/6664WEB
- https://github.com/dlemstra/Magick.NET/releases/tag/13.3.0WEB
- https://github.com/webmproject/libwebpPACKAGE
- https://github.com/webmproject/libwebp/releases/tag/v1.3.2WEB
- https://lists.debian.org/debian-lts-announce/2023/09/msg00015.htmlWEB
- https://lists.debian.org/debian-lts-announce/2023/09/msg00016.htmlWEB
- https://lists.debian.org/debian-lts-announce/2023/09/msg00017.htmlWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T655QF7CQ3DYAMPFV7IECQYGDEUIVVTWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FYYKLG6CRGEDTNRBSU26EEWAO6D6U645WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KUQ7CTX3W372X3UY56VVNAHCH6H2F4X3WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OZDGWWMJREPAGKWCJKSCM4WYLANSKIFXWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PYZV7TMKF4QHZ54SFJX54BDN52VHGGCXWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHOLML7N2G5KCAZXFWC5IDFFHSQS5SDBWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTRUIS3564P7ZLM2S2IH4Y4KZ327LI4IWEB
- https://www.openwall.com/lists/oss-security/2023/09/21/4WEB
- https://www.openwall.com/lists/oss-security/2023/09/22/1WEB
- https://www.openwall.com/lists/oss-security/2023/09/22/3WEB
- https://www.openwall.com/lists/oss-security/2023/09/22/4WEB
- https://www.openwall.com/lists/oss-security/2023/09/22/5WEB
- https://www.openwall.com/lists/oss-security/2023/09/22/6WEB
- https://www.openwall.com/lists/oss-security/2023/09/22/7WEB
- https://www.openwall.com/lists/oss-security/2023/09/22/8WEB
- https://www.openwall.com/lists/oss-security/2023/09/26/1WEB
- https://www.openwall.com/lists/oss-security/2023/09/26/7WEB
- https://www.openwall.com/lists/oss-security/2023/09/28/1WEB
- https://www.openwall.com/lists/oss-security/2023/09/28/2WEB
- https://www.openwall.com/lists/oss-security/2023/09/28/4WEB
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
Significant impact if exploited, or exploitable with modest effort.
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.
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
Related CVEs
- CVE-2026-54257CRITICAL
Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
- CVE-2026-102676HIGH
Electron: <webview> can enable Node.js integration in Web Workers despite embedder restrictions
- CVE-2026-102674HIGH
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
- CVE-2026-102673HIGH
Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab
- CVE-2026-34780HIGH
Electron: Context Isolation bypass via contextBridge VideoFrame transfer