HighGHSA-j7hp-h8jx-5pprA-299477569ASB-A-299477569CVE-2023-4863CVE-2023-5129
libwebp: OOB write in BuildHuffmanTable
Published 12 Sept 2023 · Updated 10 Sept 2026
Affected packages
electronnpm
- Affected
- >=22.0.0 <22.3.24
- Fixed in
- 22.3.24
Update to the fixed version for your release line, for example:
npm install electron@22.3.24electronnpm
- Affected
- >=24.0.0 <24.8.3
- Fixed in
- 24.8.3
Update to the fixed version for your release line, for example:
npm install electron@24.8.3electronnpm
- Affected
- >=25.0.0 <25.8.1
- Fixed in
- 25.8.1
Update to the fixed version for your release line, for example:
npm install electron@25.8.1electronnpm
- Affected
- >=26.0.0 <26.2.1
- Fixed in
- 26.2.1
Update to the fixed version for your release line, for example:
npm install electron@26.2.1electronnpm
- Affected
- >=27.0.0-beta.1 <27.0.0-beta.2
- Fixed in
- 27.0.0-beta.2
Update to the fixed version for your release line, for example:
npm install electron@27.0.0-beta.2Details
Heap buffer overflow in libwebp allow a remote attacker to perform an out of bounds memory write via a crafted HTML page.
Is GHSA-j7hp-h8jx-5ppr in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected electron, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-4863
- Linkgithub.com/qnighy/libwebp-sys2-rs/pull/21
- Linkgithub.com/python-pillow/Pillow/pull/7395
- Linkgithub.com/jaredforth/webp/pull/30
- Linkgithub.com/electron/electron/pull/39823
- Linkgithub.com/electron/electron/pull/39825
- Linkgithub.com/electron/electron/pull/39826
- Linkgithub.com/electron/electron/pull/39827
- Linkgithub.com/electron/electron/pull/39828
- Linkgithub.com/webmproject/libwebp/commit/902bc9190331343b2017211debcec8d2ab87e17a
- Linkgithub.com/qnighy/libwebp-sys2-rs/commit/4560c473a76ec8bd8c650f19ddf9d7a44f719f8b
- Linkgithub.com/jaredforth/webp/commit/9d4c56e63abecc777df71c702503c3eaabd7dcbc
- Linksecurity.gentoo.org/glsa/202401-10
- Linksecurity.gentoo.org/glsa/202309-05
- Linksecurity-tracker.debian.org/tracker/CVE-2023-4863
- Linkrustsec.org/advisories/RUSTSEC-2023-0061.html
- Linkrustsec.org/advisories/RUSTSEC-2023-0060.html
- Linkpillow.readthedocs.io/en/stable/releasenotes/10.0.1.html#security
- Linknews.ycombinator.com/item?id=37478403
- Linkmsrc.microsoft.com/update-guide/vulnerability/CVE-2023-4863
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.