CVE-2026-54257
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 42.3.1 until 42.3.3, Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow. Most apps will crash and some may perform incorrect buffer allocations in the Node.js Buffer API resulting in unexpected truncation or allocation. This vulnerability is fixed in 42.3.3.
Description as published by the source, in English.
Key facts
- Published
- 2026-06-23
- Last modified
- 2026-06-25
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.3 %
higher than 17 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| electron (npm) | ≥ 42.3.1, < 42.3.3 | Affected |
Weakness type
-
CWE-120: Buffer Copy without Checking Size of Input
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
References
Related at Berigo
Articles
-
A traveller gave a duress password at the border and was charged
Same product
2026-08-19
A United States citizen is charged with wiping the contents of his phone during a border search in January 2025. He pleaded not guilty, and the case …
-
A dealer-installed car alarm lets strangers unlock the car
Same product
2026-08-18
Researchers at UC San Diego found that the key to the KARR car alarm is hardcoded and identical across every module. Almost half of the affected owne…
-
Contractor jailed for two years after trying to extort the company that hired him
Same product
2026-08-14
A former contract data analyst has been sentenced to two years in prison for attempting to extort 2.5 million dollars in cryptocurrency from an inter…
-
Showboat: new Linux malware targeting telecom providers
Same product
2026-05-21
Lumen has uncovered a new Linux-based malware family used in targeted attacks against international telecom providers.
Services
-
NIS2 for the Board
NIS2 has not yet been implemented in Norwegian law. Berigo helps the board establish which requirements the organisation is subject to, and supports …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.