{"cve":"CVE-2026-34764","nvd":{"published":"2026-04-06T16:16:36.767","modified":"2026-06-17T10:39:34.983","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5},"cwes":["CWE-416"],"references":["https://github.com/electron/electron/security/advisories/GHSA-8x5q-pvf5-64mp"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-34764","score":0.001,"percentile":0.00811,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8x5q-pvf5-64mp","url":"https://osv.dev/vulnerability/GHSA-8x5q-pvf5-64mp","summary":"Electron: Use-after-free in offscreen shared texture release() callback","modified":"2026-04-06T23:46:21.169796Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=33.0.0-alpha.1 <39.8.5"],"fixed":["39.8.5"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=40.0.0-alpha.1 <40.8.5"],"fixed":["40.8.5"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=41.0.0-alpha.1 <41.1.0"],"fixed":["41.1.0"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=42.0.0-alpha.1 <42.0.0-alpha.5"],"fixed":["42.0.0-alpha.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}