CVE-2026-34764 | Electron has a use-after-free in offscreen shared texture release() callback

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 33.0.0-alpha.1 to before 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, apps that use offscreen rendering with GPU shared textures may be vulnerable to a use-after-free. Under certain conditions, the release() callback provided on a paint event texture can outlive its backing native state, and invoking it after that point dereferences freed memory in the main process, which may lead to a crash or memory corruption. Apps are only affected if they use offscreen rendering with webPreferences.offscreen: { useSharedTexture: true }. Apps that do not enable shared-texture offscreen rendering are not affected. To mitigate this issue, ensure texture.release() is called promptly after the texture has been consumed, before the texture object becomes unreachable. This vulnerability is fixed in 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5.

Published: 2026-04-06 Last update: 2026-05-01 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-34764 is rated Low Risk (10.1/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.01%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-34764

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-07 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-34764

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
2.3 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:H)
They need powerful rights—admin, root, or similar—before this pays off.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
0.8 1.4 [email protected]
5.5 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 3.6 [email protected]

Weakness enumeration for CVE-2026-34764

GitHub Security Advisory for CVE-2026-34764

GHSA-8x5q-pvf5-64mp · Severity: low · Ecosystem: npm — Electron: Use-after-free in offscreen shared texture release() callback

OS Trackers for CVE-2026-34764

vendor priority summary link
redhat low https://access.redhat.com/security/cve/CVE-2026-34764

Affected software / configurations for CVE-2026-34764

Vendor Product Version Raw CPE
electronjs electron >= 33.0.0, < 39.8.5 cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
electronjs electron >= 40.0.0, < 40.8.5 cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
electronjs electron >= 41.0.0, < 41.1.0 cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*
electronjs electron 42.0.0 cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*

References for CVE-2026-34764

cvelogic Threat Intelligence