Electron Heap Buffer Overflow Vulnerability in NativeImage Functions
Vulnerability
A heap buffer overflow vulnerability has been identified in Electron versions prior to 28.3.2, 29.0.0-alpha.1 through 29.3.3, and 30.0.0-alpha.1 through 30.0.3. The issue arises in the nativeImage.createFromPath() and nativeImage.createFromBuffer() functions, which call a downstream function susceptible to the overflow. An attacker can exploit this vulnerability if they control the image's dimensions and contents.
Impact
Exploitation of this vulnerability leads to a heap buffer overflow, allowing for potential memory corruption.
Remediation
Users should update Electron to version 28.3.2, 29.3.3, or 30.0.3.
Added: Jul 1, 2025, 3:18 AM
Updated: Jul 1, 2025, 3:18 AM
Vulnerability Rating
Custom Algorithm
spread
0.0impact
2.5exploitability
3.0remediation
7.7relevance
0.2threat
0.0urgency
2.9incentive
0.8Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
