CVE-2026-34764

Source
https://cve.org/CVERecord?id=CVE-2026-34764
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34764.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-34764
Aliases
Published
2026-04-06T15:46:40.189Z
Modified
2026-07-08T08:12:27.148523847Z
Severity
  • 2.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Electron has a use-after-free in offscreen shared texture release() callback
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34764.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-416"
    ]
}
References

Affected packages

Git / github.com/electron/electron

Affected ranges

Type
GIT
Repo
https://github.com/electron/electron
Events
Database specific
{
    "cpe": "cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "33.0.0"
        },
        {
            "fixed": "39.8.5"
        },
        {
            "introduced": "40.0.0"
        },
        {
            "fixed": "40.8.5"
        },
        {
            "introduced": "41.0.0"
        },
        {
            "fixed": "41.1.0"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v40.*
v40.0.0
v40.1.0
v40.2.0
v40.2.1
v40.3.0
v40.4.0
v40.4.1
v40.5.0
v40.6.0
v40.6.1
v40.7.0
v40.8.0
v40.8.1
v40.8.2
v40.8.3
v40.8.4
v41.*
v41.0.0
v41.0.1
v41.0.2
v41.0.3
v41.0.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34764.json"