VDB
Sign up
CRITICAL9.3

GHSA-q6m5-f73j-m9mc

Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow

Quick fix

GHSA-q6m5-f73j-m9mc — electron: upgrade to the fixed version with the command below.

npm install electron@42.3.3

Details

### Impact Most apps will crash and some may perform incorrect buffer allocations in the Node.js `Buffer` API resulting in unexpected truncation or allocation.

### Workarounds No workarounds. Do not use these impacted Electron releases

### Fixed Versions * `42.3.3`

### For more information If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/electron
Introduced in: 42.3.1Fixed in: 42.3.3
Fixnpm install electron@42.3.3

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/electron"]}'