Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-34781: Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS

11
Routine
LOW 2.8UPGRADE

CVE-2026-34781 is a low-severity flaw (CVSS 2.8) affecting electron. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, apps that call clipboard.readImage() may be vulnerable to a denial of service. If the system clipboard contains image data that fails to decode, the resulting null bitmap is passed unchecked to image construction, triggering a controlled abort and crashing the process. Apps are only affected

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score2.8 (Low)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionRequired
EPSS exploit chance0.1% (top 96%)
CISA exploited listNo
WeaknessCWE-476
Published2026-04-07
Last modified2026-07-24
Publisher (CNA): GitHub, Inc. · Vendor: electronjs

Share: LinkedIn · X · Reddit

Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

electronjs electron UPGRADE
Affected: <= 39.8.4 · >= 40.0.0 and <= 40.8.4 · >= 41.0.0 and < 41.1.0 · 41.2.0 · 42.0.0 alpha1 · 42.0.0 alpha2 · 42.0.0 alpha3 · 42.0.0 alpha4
Fixed in: 41.1.0
Safe to downgrade to: a release before 40.0.0
1. Check installed version
npm ls electron
2. UPGRADE to 41.1.0
npm install electron@">=41.1.0"
3. If no update is available yet, DOWNGRADE to a release before 40.0.0
npm view electron versions npm install electron@"<40.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-34781?

electron: upgrade to 41.1.0. Exact commands for each OS are on this page.

Is CVE-2026-34781 being exploited?

CVE-2026-34781 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-34781 affect?

CVE-2026-34781 affects electron. Severity is low (CVSS 2.8). Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5, apps that call clipboard.readImage() may be vulnerable to a denial of service. If t

How urgent is CVE-2026-34781?

Priority 11/100. No elevated risk signals yet.

Software pages

Electron vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.