
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34764 is a use-after-free vulnerability in the Electron framework affecting offscreen rendering with GPU shared textures. The release() callback provided on a paint event texture can outlive its backing native state; invoking it after that point dereferences freed memory in the main process, potentially causing a crash or memory corruption. Affected versions span from 33.0.0-alpha.1 through multiple release lines up to (but not including) the patched versions. It was published on April 3, 2026, with NVD publication on April 6, 2026. The CVSS v3.1 base score is 2.3 (Low) per the GitHub Security Advisory, though Feedly's NVD-sourced data assigns a score of 5.5 (Medium) (Github Advisory, Electron Advisory).
The root cause is classified as CWE-416 (Use After Free) and CWE-825 (Expired Pointer Dereference). When an Electron application uses offscreen rendering with webPreferences.offscreen: { useSharedTexture: true }, the release() callback attached to a GPU-shared texture on a paint event can be invoked after the underlying native GPU texture state has already been freed. This results in a dereference of freed memory within the main process. Exploitation requires local access with high privileges and is limited strictly to applications that have explicitly enabled the useSharedTexture offscreen rendering mode (Github Advisory, Electron Advisory).
Successful exploitation can cause the Electron main process to crash or suffer memory corruption, resulting in a denial of service for the affected application. There is no confidentiality or integrity impact identified — the primary consequence is availability loss. The vulnerability is scoped to the affected application process and does not enable lateral movement or data exfiltration based on current analysis (Github Advisory, Red Hat Bugzilla).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.018% (0.000140), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access with high privileges and is constrained to a specific, non-default Electron configuration, significantly limiting its attack surface (Github Advisory).
Electron has released fixed versions: 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5. Applications running versions from 33.0.0-alpha.1 through the affected ranges should upgrade to the appropriate patched release. As an interim workaround, developers should ensure texture.release() is called promptly after the texture has been consumed and before the texture object becomes unreachable, preventing the use-after-free condition. Applications that do not use webPreferences.offscreen: { useSharedTexture: true } are not affected and require no action (Electron Advisory, Github Advisory).
The vulnerability was credited to researcher daffainfo and published by the Electron security team (MarshallOfSound) on April 3, 2026. Red Hat tracked the issue via Bugzilla (Bug 2455466) and classified it as low severity. No significant broader media coverage or notable community discussion has been identified beyond standard vulnerability database entries (Electron Advisory, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."