The nativeImage.createFromPath() and nativeImage.createFromBuffer() functions call a function downstream that is vulnerable to a heap buffer overflow. An Electron program that uses either of the affected functions is vulnerable to a buffer overflow if an attacker is in control of the image's height, width, and contents.
There are no app-side workarounds for this issue. You must update your Electron version to be protected.
v28.3.2v29.3.3v30.0.3If you have any questions or comments about this advisory, email us at security@electronjs.org.
{
"github_reviewed": true,
"github_reviewed_at": "2025-06-30T18:41:08Z",
"severity": "MODERATE",
"nvd_published_at": "2025-07-01T03:15:21Z",
"cwe_ids": [
"CWE-122"
]
}