---
id: CVE-2026-70598
title: >-
  Electron is a framework for writing cross-platform desktop applications using
  JavaScript, HTML and CSS
summary: >-
  Electron is a framework for writing cross-platform desktop applications using
  JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.0, 41.2.1, and 42.0.0-beta.3,
  offscreen rendering frame data received from the GPU process was not fully
  valid…
severity: low
cvss: 3.9
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L'
cwe:
  - CWE-125
vendor: electron
product: electron
affected:
  - electron < 39.8.10
  - 'electron >= 40.0.0-alpha.1, < 40.9.0'
  - 'electron >= 41.0.0-alpha.1, < 41.2.1'
  - 'electron >= 42.0.0-alpha.1, < 42.0.0-beta.3'
patched:
  - electron 39.8.10
  - electron 40.9.0
  - electron 41.2.1
  - electron 42.0.0-beta.3
published: '2026-08-05'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:44:08.253'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70598'
references:
  - url: >-
      https://github.com/electron/electron/commit/2c24640e7b0b9c74fe9f44bce0fde138340ff4fb
    label: security-advisories@github.com
  - url: >-
      https://github.com/electron/electron/security/advisories/GHSA-pfmc-3mgc-p6fp
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-pfmc-3mgc-p6fp'
tags:
  - nvd
  - ghsa
  - npm
epss: 0.00136
epssPercentile: 0.02492
aliases:
  - GHSA-pfmc-3mgc-p6fp
ecosystem: npm
ingestedAt: '2026-08-05T15:49:00.658Z'
---

## Overview

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.0, 41.2.1, and 42.0.0-beta.3, offscreen rendering 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. This issue is fixed in 39.8.10, 40.9.0, 41.2.1, and 42.0.0-beta.3.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-70598)

Affected packages:

- `electron < 39.8.10`
- `electron >= 40.0.0-alpha.1, < 40.9.0`
- `electron >= 41.0.0-alpha.1, < 41.2.1`
- `electron >= 42.0.0-alpha.1, < 42.0.0-beta.3`

Patched in:

- `electron 39.8.10`
- `electron 40.9.0`
- `electron 41.2.1`
- `electron 42.0.0-beta.3`

Source: https://github.com/advisories/GHSA-pfmc-3mgc-p6fp
