GitHub Advisory Database
GHSA-j7hp-h8jx-5ppr
libwebp: OOB write in BuildHuffmanTable
Details
Heap buffer overflow in libwebp allow a remote attacker to perform an out of bounds memory write via a crafted HTML page.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | libwebp-sys2 | All versions before 0.1.8 (fixed in 0.1.8) |
| crates.io | libwebp-sys | All versions before 0.9.3 (fixed in 0.9.3) |
| npm | electron | From 22.0.0 before 22.3.24 (fixed in 22.3.24) |
| npm | electron | From 24.0.0 before 24.8.3 (fixed in 24.8.3) |
| npm | electron | From 25.0.0 before 25.8.1 (fixed in 25.8.1) |
| npm | electron | From 26.0.0 before 26.2.1 (fixed in 26.2.1) |
| npm | electron | From 27.0.0-beta.1 before 27.0.0-beta.2 (fixed in 27.0.0-beta.2) |
| NuGet | SkiaSharp | From 2.0.0 before 2.88.6 (fixed in 2.88.6) |
| Go | github.com/chai2010/webp | From 1.1.2 before 1.4.0 (fixed in 1.4.0) |
| PyPI | pillow | All versions before 10.0.1 (fixed in 10.0.1) |
| crates.io | webp | All versions before 0.2.6 (fixed in 0.2.6) |
| NuGet | magick.net-q16-anycpu | All versions before 13.3.0 (fixed in 13.3.0) |
| NuGet | magick.net-q16-hdri-anycpu | All versions before 13.3.0 (fixed in 13.3.0) |
| NuGet | magick.net-q16-x64 | All versions before 13.3.0 (fixed in 13.3.0) |
| NuGet | magick.net-q8-anycpu | All versions before 13.3.0 (fixed in 13.3.0) |
| NuGet | magick.net-q8-openmp-x64 | All versions before 13.3.0 (fixed in 13.3.0) |
| NuGet | magick.net-q8-x64 | All versions before 13.3.0 (fixed in 13.3.0) |
| Go | github.com/chai2010/webp | All versions before 0.0.0-20250406010349-76805d5a8860 (fixed in 0.0.0-20250406010349-76805d5a8860) |
| Go | github.com/chai2010/webp | From 0.0.0 before 1.1.2-0.20250406010349-76805d5a8860 (fixed in 1.1.2-0.20250406010349-76805d5a8860) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-4863
- https://github.com/qnighy/libwebp-sys2-rs/pull/21
- https://github.com/python-pillow/Pillow/pull/7395
- https://github.com/jaredforth/webp/pull/30
- https://github.com/electron/electron/pull/39823
- https://github.com/electron/electron/pull/39825
- https://github.com/electron/electron/pull/39826
- https://github.com/electron/electron/pull/39827
- https://github.com/electron/electron/pull/39828
- https://github.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17a
- https://github.com/qnighy/libwebp-sys2-rs/commit/4560c473a76ec8bd8c650f19ddf9d7a44f719f8b
- https://github.com/jaredforth/webp/commit/9d4c56e63abecc777df71c702503c3eaabd7dcbc
- https://security.gentoo.org/glsa/202401-10
- https://security.gentoo.org/glsa/202309-05
- https://security-tracker.debian.org/tracker/CVE-2023-4863
- https://rustsec.org/advisories/RUSTSEC-2023-0061.html
- https://rustsec.org/advisories/RUSTSEC-2023-0060.html
- https://pillow.readthedocs.io/en/stable/releasenotes/10.0.1.html#security
- https://news.ycombinator.com/item?id=37478403
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-4863
- https://adamcaudill.com/2023/09/14/whose-cve-is-it-anyway
- https://security.netapp.com/advisory/ntap-20230929-0011
- https://sethmlarson.dev/security-developer-in-residence-weekly-report-16
- https://stackdiary.com/critical-vulnerability-in-webp-codec-cve-2023-4863
- https://www.bentley.com/advisories/be-2023-0001
- https://www.bleepingcomputer.com/news/google/google-fixes-another-chrome-zero-day-bug-exploited-in-attacks
- https://www.debian.org/security/2023/dsa-5496
- https://www.debian.org/security/2023/dsa-5497
- https://www.debian.org/security/2023/dsa-5498
- https://www.mozilla.org/en-US/security/advisories/mfsa2023-40
- https://www.vicarius.io/vsociety/posts/zero-day-webp-vulnerability-cve-2023-4863
- https://blog.isosceles.com/the-webp-0day
- https://bugzilla.suse.com/show_bug.cgi?id=1215231
- https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop_11.html
- https://crbug.com/1479274
- https://en.bandisoft.com/honeyview/history
- https://github.com/ImageMagick/ImageMagick/discussions/6664
- https://github.com/dlemstra/Magick.NET/releases/tag/13.3.0
- https://github.com/webmproject/libwebp
- https://github.com/webmproject/libwebp/releases/tag/v1.3.2