1. Archivio CVE
  2. 2026
  3. CVE-2026-34774

CVE-2026-34774

8.1 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 8.1 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
electronjs electron < 39.8.1 node.js
electronjs electron >= 40.0.0 < 40.7.0 node.js
electronjs electron 41.0.0 alpha1 node.js
electronjs electron 41.0.0 alpha2 node.js
electronjs electron 41.0.0 alpha3 node.js
electronjs electron 41.0.0 alpha4 node.js
electronjs electron 41.0.0 alpha5 node.js
electronjs electron 41.0.0 alpha6 node.js
electronjs electron 41.0.0 beta1 node.js
electronjs electron 41.0.0 beta2 node.js
electronjs electron 41.0.0 beta3 node.js
electronjs electron 41.0.0 beta4 node.js
electronjs electron 41.0.0 beta5 node.js
electronjs electron 41.0.0 beta6 node.js
electronjs electron 41.0.0 beta7 node.js
electronjs electron 41.0.0 beta8 node.js
Tutte le 59 vulnerabilità di Electronjs Electron

Tipo di vulnerabilità

CWE-416 Uso di memoria dopo la liberazione (use after free)

Il prodotto usa o fa riferimento a un’area di memoria dopo averla liberata. Nel frattempo quell’area può essere stata assegnata ad altro: ogni operazione fatta con il vecchio puntatore agisce su dati che non le appartengono più.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Riservatezza Leggere la memoria
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Scelta del linguaggio Choose a language that provides automatic memory management.
Sviluppo · Riduzione della superficie di attacco When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 9.638 CVE di tipo CWE-416, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org