GHSA-pfmc-3mgc-p6fp

Suggest an improvement
Source
https://github.com/advisories/GHSA-pfmc-3mgc-p6fp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-pfmc-3mgc-p6fp/GHSA-pfmc-3mgc-p6fp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pfmc-3mgc-p6fp
Aliases
  • CVE-2026-70598
Published
2026-08-05T15:27:27Z
Modified
2026-08-05T15:30:29.475418696Z
Severity
  • 3.9 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L CVSS Calculator
Summary
Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size
Details

Impact

In offscreen rendering mode, frame data received from the GPU process was not fully validated by the main process. A compromised GPU process could cause the main process to read out-of-bounds memory while producing paint event images, disclosing memory or crashing the app.

Apps are only affected if they use offscreen rendering (webPreferences.offscreen) and an attacker has separately gained code execution in the GPU process. Apps that do not use offscreen rendering are not affected.

Workarounds

There are no app side workarounds, you must update to a patched version of Electron.

Fixed Versions

  • 42.0.0-beta.3
  • 41.2.1
  • 40.9.0
  • 39.8.10

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-125"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2026-08-05T15:27:27Z"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
39.8.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-pfmc-3mgc-p6fp/GHSA-pfmc-3mgc-p6fp.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
40.0.0-alpha.1
Fixed
40.9.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-pfmc-3mgc-p6fp/GHSA-pfmc-3mgc-p6fp.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
41.0.0-alpha.1
Fixed
41.2.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-pfmc-3mgc-p6fp/GHSA-pfmc-3mgc-p6fp.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
42.0.0-alpha.1
Fixed
42.0.0-beta.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-pfmc-3mgc-p6fp/GHSA-pfmc-3mgc-p6fp.json"