Intel

AIKIDO-2026-183484

electron is vulnerable to Use After Free

Use After FreeCVE-2026-9118 Published 4 days ago

88

High Risk

This Affects:

JSelectron
40.0.0 - 40.10.2
Fixed in 40.10.3
41.0.0 - 41.7.1
Fixed in 41.7.2
Are you affected? Scan for Free

TL;DR

electron's embedded Chromium XR runtime manager on Windows can leave a GPU observer registered after teardown. Crafted HTML that exercises WebXR paths can trigger use-after-free during runtime destruction. Pre-fix builds risk arbitrary code execution in the browser process. The backport removes the GPU observer in the XR runtime manager destructor.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and ship electron desktop apps on Windows that expose WebXR content.

Background info

electron is vulnerable to Use After Free in versions 40.0.0 - 40.10.2 and 41.0.0 - 41.7.1.

How to fix this

Upgrade the electron library to the patch version.