{"id":"CVE-2023-4863","aliases":["GHSA-j7hp-h8jx-5ppr","A-299477569","ASB-A-299477569","CVE-2023-5129","PYSEC-2026-1794","RUSTSEC-2023-0060","RUSTSEC-2023-0061"],"title":"libwebp: OOB write in BuildHuffmanTable","summary":"libwebp: OOB write in BuildHuffmanTable","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploited":true,"vendor":"libwebp-sys2","product":"libwebp-sys2","ecosystem":"rust","affected":["libwebp-sys2 < 0.1.8","libwebp-sys < 0.9.3","electron >= 22.0.0, < 22.3.24","electron >= 24.0.0, < 24.8.3","electron >= 25.0.0, < 25.8.1","electron >= 26.0.0, < 26.2.1","electron >= 27.0.0-beta.1, < 27.0.0-beta.2","SkiaSharp >= 2.0.0, < 2.88.6","github.com/chai2010/webp >= 1.1.2, < 1.4.0","pillow < 10.0.1","webp < 0.2.6","magick.net-q16-anycpu < 13.3.0","magick.net-q16-hdri-anycpu < 13.3.0","magick.net-q16-x64 < 13.3.0","magick.net-q8-anycpu < 13.3.0","magick.net-q8-openmp-x64 < 13.3.0","magick.net-q8-x64 < 13.3.0","github.com/chai2010/webp < 0.0.0-20250406010349-76805d5a8860","github.com/chai2010/webp >= 0.0.0, < 1.1.2-0.20250406010349-76805d5a8860"],"patched":["libwebp-sys2 0.1.8","libwebp-sys 0.9.3","electron 22.3.24","electron 24.8.3","electron 25.8.1","electron 26.2.1","electron 27.0.0-beta.2","SkiaSharp 2.88.6","github.com/chai2010/webp 1.4.0","pillow 10.0.1","webp 0.2.6","magick.net-q16-anycpu 13.3.0","magick.net-q16-hdri-anycpu 13.3.0","magick.net-q16-x64 13.3.0","magick.net-q8-anycpu 13.3.0","magick.net-q8-openmp-x64 13.3.0","magick.net-q8-x64 13.3.0","github.com/chai2010/webp 0.0.0-20250406010349-76805d5a8860","github.com/chai2010/webp 1.1.2-0.20250406010349-76805d5a8860"],"published":"2023-09-12","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:01.877717636Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-j7hp-h8jx-5ppr","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4863"},{"url":"https://github.com/qnighy/libwebp-sys2-rs/pull/21"},{"url":"https://github.com/python-pillow/Pillow/pull/7395"},{"url":"https://github.com/jaredforth/webp/pull/30"},{"url":"https://github.com/electron/electron/pull/39823"},{"url":"https://github.com/electron/electron/pull/39825"},{"url":"https://github.com/electron/electron/pull/39826"},{"url":"https://github.com/electron/electron/pull/39827"},{"url":"https://github.com/electron/electron/pull/39828"},{"url":"https://github.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17a"},{"url":"https://github.com/qnighy/libwebp-sys2-rs/commit/4560c473a76ec8bd8c650f19ddf9d7a44f719f8b"},{"url":"https://github.com/jaredforth/webp/commit/9d4c56e63abecc777df71c702503c3eaabd7dcbc"},{"url":"https://security.gentoo.org/glsa/202401-10"},{"url":"https://security.gentoo.org/glsa/202309-05"},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-4863"},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0061.html"},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0060.html"},{"url":"https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html#security"},{"url":"https://news.ycombinator.com/item?id=37478403"},{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-4863"},{"url":"https://adamcaudill.com/2023/09/14/whose-cve-is-it-anyway"},{"url":"https://security.netapp.com/advisory/ntap-20230929-0011"},{"url":"https://sethmlarson.dev/security-developer-in-residence-weekly-report-16"},{"url":"https://stackdiary.com/critical-vulnerability-in-webp-codec-cve-2023-4863"},{"url":"https://www.bentley.com/advisories/be-2023-0001"},{"url":"https://www.bleepingcomputer.com/news/google/google-fixes-another-chrome-zero-day-bug-exploited-in-attacks"},{"url":"https://www.debian.org/security/2023/dsa-5496"},{"url":"https://www.debian.org/security/2023/dsa-5497"},{"url":"https://www.debian.org/security/2023/dsa-5498"},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2023-40"},{"url":"https://www.vicarius.io/vsociety/posts/zero-day-webp-vulnerability-cve-2023-4863"},{"url":"https://blog.isosceles.com/the-webp-0day"},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1215231"},{"url":"https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html"},{"url":"https://crbug.com/1479274"},{"url":"https://en.bandisoft.com/honeyview/history"},{"url":"https://github.com/ImageMagick/ImageMagick/discussions/6664"},{"url":"https://github.com/dlemstra/Magick.NET/releases/tag/13.3.0"},{"url":"https://github.com/webmproject/libwebp"},{"url":"https://github.com/webmproject/libwebp/releases/tag/v1.3.2"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00015.html"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00016.html"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00017.html"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6T655QF7CQ3DYAMPFV7IECQYGDEUIVVT"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FYYKLG6CRGEDTNRBSU26EEWAO6D6U645"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KUQ7CTX3W372X3UY56VVNAHCH6H2F4X3"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OZDGWWMJREPAGKWCJKSCM4WYLANSKIFX"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PYZV7TMKF4QHZ54SFJX54BDN52VHGGCX"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHOLML7N2G5KCAZXFWC5IDFFHSQS5SDB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTRUIS3564P7ZLM2S2IH4Y4KZ327LI4I"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/21/4"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/1"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/3"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/4"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/5"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/6"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/7"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/8"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/26/1"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/26/7"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/28/1"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/28/2"},{"url":"http://www.openwall.com/lists/oss-security/2023/09/28/4"}],"tags":["osv","rust","kev","in-the-wild","exploit-available"],"epss":0.99979,"epssPercentile":0.9998,"kev":true,"kevDateAdded":"2023-09-13","kevDueDate":"2023-10-04","kevRansomware":false,"exploits":{"github":14,"githubRepos":["https://github.com/mistymntncop/CVE-2023-4863","https://github.com/bbaranoff/CVE-2023-4863","https://github.com/talbeerysec/BAD-WEBP-CVE-2023-4863"],"checkedAt":"2026-09-12T03:13:37.766Z"},"exploitAvailable":true,"zeroDay":true,"ingestedAt":"2026-07-08T18:25:50.604Z","slug":"CVE-2023-4863","body":"## Overview\n\nHeap buffer overflow in libwebp allow a remote attacker to perform an out of bounds memory write via a crafted HTML page.\n\n## Affected packages\n\n- `libwebp-sys2 < 0.1.8`\n- `libwebp-sys < 0.9.3`\n- `electron >= 22.0.0, < 22.3.24`\n- `electron >= 24.0.0, < 24.8.3`\n- `electron >= 25.0.0, < 25.8.1`\n- `electron >= 26.0.0, < 26.2.1`\n- `electron >= 27.0.0-beta.1, < 27.0.0-beta.2`\n- `SkiaSharp >= 2.0.0, < 2.88.6`\n- `github.com/chai2010/webp >= 1.1.2, < 1.4.0`\n- `pillow < 10.0.1`\n- `webp < 0.2.6`\n- `magick.net-q16-anycpu < 13.3.0`\n- `magick.net-q16-hdri-anycpu < 13.3.0`\n- `magick.net-q16-x64 < 13.3.0`\n- `magick.net-q8-anycpu < 13.3.0`\n- `magick.net-q8-openmp-x64 < 13.3.0`\n- `magick.net-q8-x64 < 13.3.0`\n- `github.com/chai2010/webp < 0.0.0-20250406010349-76805d5a8860`\n- `github.com/chai2010/webp >= 0.0.0, < 1.1.2-0.20250406010349-76805d5a8860`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `libwebp-sys2 0.1.8`\n- `libwebp-sys 0.9.3`\n- `electron 22.3.24`\n- `electron 24.8.3`\n- `electron 25.8.1`\n- `electron 26.2.1`\n- `electron 27.0.0-beta.2`\n- `SkiaSharp 2.88.6`\n- `github.com/chai2010/webp 1.4.0`\n- `pillow 10.0.1`\n- `webp 0.2.6`\n- `magick.net-q16-anycpu 13.3.0`\n- `magick.net-q16-hdri-anycpu 13.3.0`\n- `magick.net-q16-x64 13.3.0`\n- `magick.net-q8-anycpu 13.3.0`\n- `magick.net-q8-openmp-x64 13.3.0`\n- `magick.net-q8-x64 13.3.0`\n- `github.com/chai2010/webp 0.0.0-20250406010349-76805d5a8860`\n- `github.com/chai2010/webp 1.1.2-0.20250406010349-76805d5a8860`","depth":"abyssal","depthScore":93,"depthScoreParts":{"impact":48.4,"likelihood":20,"exploitation":25,"ransomware":0},"changes":[{"seq":4666,"id":"CVE-2023-4863","ts":1788887197892,"field":"exploit_available","old":"false","new":"true"},{"seq":3549,"id":"CVE-2023-4863","ts":1788886314043,"field":"exploit_available","old":"true","new":"false"},{"seq":2403,"id":"CVE-2023-4863","ts":1788882983274,"field":"exploit_available","old":"false","new":"true"},{"seq":1432,"id":"CVE-2023-4863","ts":1788882396224,"field":"exploit_available","old":"true","new":"false"},{"seq":546,"id":"CVE-2023-4863","ts":1788881832555,"field":"exploit_available","old":"false","new":"true"}]}