Vulnerability Database

352,427

Total vulnerabilities in the database

CVE-2026-34774 — electron

Use After Free

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 39.8.1, 40.7.0, and 41.0.0, apps that use offscreen rendering and allow child windows via window.open() may be vulnerable to a use-after-free. If the parent offscreen WebContents is destroyed while a child window remains open, subsequent paint frames on the child dereference freed memory, which may lead to a crash or memory corruption. Apps are only affected if they use offscreen rendering (webPreferences.offscreen: true) and their setWindowOpenHandler permits child windows. Apps that do not use offscreen rendering, or that deny child windows, are not affected. This issue has been patched in versions 39.8.1, 40.7.0, and 41.0.0.

CVSS v3:

  • Severity: High
  • Score: 8.1
  • AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CWEs:

Software From Fixed in
Node.js icon electron - 39.8.1
Node.js icon electron 40.0.0-alpha.1 40.7.0
Node.js icon electron 41.0.0-alpha.1 41.0.0
electronjs / electron - 39.8.1
electronjs / electron 40.0.0 40.7.0
electronjs / electron 41.0.0-alpha1 41.0.0-alpha1.x
electronjs / electron 41.0.0-alpha2 41.0.0-alpha2.x
electronjs / electron 41.0.0-alpha3 41.0.0-alpha3.x
electronjs / electron 41.0.0-alpha4 41.0.0-alpha4.x
electronjs / electron 41.0.0-alpha5 41.0.0-alpha5.x
electronjs / electron 41.0.0-alpha6 41.0.0-alpha6.x
electronjs / electron 41.0.0-beta1 41.0.0-beta1.x
electronjs / electron 41.0.0-beta2 41.0.0-beta2.x
electronjs / electron 41.0.0-beta3 41.0.0-beta3.x
electronjs / electron 41.0.0-beta4 41.0.0-beta4.x
electronjs / electron 41.0.0-beta5 41.0.0-beta5.x
electronjs / electron 41.0.0-beta6 41.0.0-beta6.x
electronjs / electron 41.0.0-beta7 41.0.0-beta7.x
electronjs / electron 41.0.0-beta8 41.0.0-beta8.x

Frequently Asked Questions

A security vulnerability is a weakness in software, hardware, or configuration that can be exploited to compromise confidentiality, integrity, or availability. Many vulnerabilities are tracked as CVEs (Common Vulnerabilities and Exposures), which provide a standardized identifier so teams can coordinate patching, mitigation, and risk assessment across tools and vendors.

CVSS (Common Vulnerability Scoring System) estimates technical severity, but it doesn't automatically equal business risk. Prioritize using context like internet exposure, affected asset criticality, known exploitation (proof-of-concept or in-the-wild), and whether compensating controls exist. A "Medium" CVSS on an exposed, production system can be more urgent than a "Critical" on an isolated, non-production host.

A vulnerability is the underlying weakness. An exploit is the method or code used to take advantage of it. A zero-day is a vulnerability that is unknown to the vendor or has no publicly available fix when attackers begin using it. In practice, risk increases sharply when exploitation becomes reliable or widespread.

Recurring findings usually come from incomplete Asset Discovery, inconsistent patch management, inherited images, and configuration drift. In modern environments, you also need to watch the software supply chain: dependencies, containers, build pipelines, and third-party services can reintroduce the same weakness even after you patch a single host. Unknown or unmanaged assets (often called Shadow IT) are a common reason the same issues resurface.

Use a simple, repeatable triage model: focus first on externally exposed assets, high-value systems (identity, VPN, email, production), vulnerabilities with known exploits, and issues that enable remote code execution or privilege escalation. Then enforce patch SLAs and track progress using consistent metrics so remediation is steady, not reactive.

SynScan combines attack surface monitoring and continuous security auditing to keep your inventory current, flag high-impact vulnerabilities early, and help you turn raw findings into a practical remediation plan.