SecurityContext

CVE-2026-34770: Electron - Use After Free

  • Cve: CVE-2026-34770
  • Name: Electron - Use After Free
  • Description: Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8, apps that use the powerMonitor module may be vulnerable to a use-after-free. After the native PowerMonitor object is garbage-collected, the associated OS-level resources (a message window on Windows, a shutdown handler on macOS) retain dangling references. A subsequent session-change event (Windows) or system shutdown (macOS) dereferences freed memory, which may lead to a crash or memory corruption. All apps that access powerMonitor events (suspend, resume, lock-screen, etc.) are potentially affected. The issue is not directly renderer-controllable. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.0, and 41.0.0-beta.8.
  • Impact: Attackers can cause application crashes or memory corruption, potentially leading to denial of service or further exploitation.
  • Remediation: Update to versions 38.8.6, 39.8.1, 40.8.0, 41.0.0-beta.8 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00255
  • Epss percentile: 0.17174
  • Assignee: [email protected]
  • Published at: 2026-04-04T00:16:17Z
  • Age in days: 234
  • Modified at: 2026-07-24T22:10:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-34770
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://github.com/electron/electron/security/advisories/GHSA-jjp3-mq3x-295mnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
electronjs:electron= 41.0.0 alpha1; = 41.0.0 alpha2; = 41.0.0 alpha3; = 41.0.0 alpha4; = 41.0.0 alpha5; = 41.0.0 alpha6; = 41.0.0 beta1; = 41.0.0 beta2; = 41.0.0 beta3; = 41.0.0 beta4; = 41.0.0 beta5; = 41.0.0 beta6; = 41.0.0 beta7; >= 40.0.0, < 40.8.0; >= 39.0.0, < 39.8.1; < 38.8.6nonvd/v1/products/electronjs/electron

Projects

RepositoryLink kindsIndexedUrl
electron/electronpackage, security_advisoryyes/v1/repositories/electron/electron

Index

  • Repositories: 15
  • Repositories high signal: 9
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts