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

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.24
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.3
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.1
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.1
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.2

Details

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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.