Nixpkgs security tracker

Try the new UI
Login with GitHub

Suggestion detail

Untriaged
Permalink CVE-2026-34774
8.1 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
created 5 months, 2 weeks ago Activity log
  • Created suggestion
Electron: Use-after-free in offscreen child window paint callback

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.

Affected products

electron
  • ==>= 40.0.0-alpha.1, < 40.7.0
  • ==< 39.8.1
  • ==>= 41.0.0-alpha.1, < 41.0.0

Matching in nixpkgs

pkgs.electron

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_39

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_40

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_41

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_42

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_43

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_44

Cross platform desktop application shell

  • nixos-unstable -

pkgs.electron-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron-cash

Bitcoin Cash SPV Wallet

  • nixos-unstable -
    • nixos-unstable-small 4.4.2
  • nixos-26.05 -
    • nixos-26.05-small 4.4.2

pkgs.electron-mail

Unofficial Election-based ProtonMail desktop client

  • nixos-unstable -
    • nixos-unstable-small 5.3.8
  • nixos-26.05 -
    • nixos-26.05-small 5.3.8

pkgs.electron-fiddle

Easiest way to get started with Electron

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_39-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_40-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_41-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_42-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_43-bin

Cross platform desktop application shell

  • nixos-unstable -
  • nixos-26.05 -

pkgs.electron_44-bin

Cross platform desktop application shell

  • nixos-unstable -

pkgs.notion-electron

Enhanced Notion Desktop client for Linux

  • nixos-unstable -
    • nixos-unstable-small 2.4.0

pkgs.electron-chromedriver

WebDriver server for running Selenium tests on Chrome

  • nixos-unstable -
  • nixos-26.05 -