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

CVE-2026-34772

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

Descrizione

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8, apps that allow downloads and programmatically destroy sessions may be vulnerable to a use-after-free. If a session is torn down while a native save-file dialog is open for a download, dismissing the dialog dereferences freed memory, which may lead to a crash or memory corruption. Apps that do not destroy sessions at runtime, or that do not permit downloads, are not affected. This issue has been patched in versions 38.8.6, 39.8.0, 40.7.0, and 41.0.0-beta.8.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
electronjs electron < 38.8.6 node.js
electronjs electron >= 39.0.0 < 39.8.0 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
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.637 CVE di tipo CWE-416, con andamento e prevenzione

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