# CVE-2026-70598: Electron: Off-screen rendering trusts GPU-supplied geometry over shared-memory size

- Priority: **Routine**
- Reason: Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-05 · Modified: 2026-08-05
- Aliases: GHSA-pfmc-3mgc-p6fp
- Record: https://cvemate.com/vulnerability/CVE-2026-70598 · JSON: https://cvemate.com/vulnerability/CVE-2026-70598/json

## Description

```text
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.
```

## Signals

- CVSS: 3.9 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:N/A:L
- EPSS: 0.137%, percentile 3.271%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- electron electron: \< 39.8.10 \| ≥ 40.0.0-alpha.1, \< 40.9.0 \| ≥ 41.0.0-alpha.1, \< 41.2.1 \| ≥ 42.0.0-alpha.1, \< 42.0.0-beta.3
- electronjs electron: \< 39.8.10 \| ≥ 40.0.0, \< 40.9.0 \| ≥ 41.0.0, \< 41.2.1 \| 42.0.0:alpha1 \| 42.0.0:alpha2 \| 42.0.0:alpha3 \| 42.0.0:alpha4 \| 42.0.0:alpha5 \| 42.0.0:alpha6 \| 42.0.0:beta1 \| 42.0.0:beta2
- Npm electron (Npm): \< 39.8.10 \| ≥ 40.0.0-alpha.1, \< 40.9.0 \| ≥ 41.0.0-alpha.1, \< 41.2.1 \| ≥ 42.0.0-alpha.1, \< 42.0.0-beta.3

## References

- <https://github.com/electron/electron/security/advisories/GHSA-pfmc-3mgc-p6fp>
- <https://github.com/electron/electron/commit/2c24640e7b0b9c74fe9f44bce0fde138340ff4fb>
- <https://github.com/electron/electron>

---

Data as of 2026-12-05T08:49:56.515Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
