BreachSpiderVerified, not vibes

CVE-2026-34781 in Electronjs Electron

Low 3.3

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 n...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.13.3
EPSS0.2%
EPSS percentile2th
FixUnknown

Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Electronjs Electron 41.2.0 42.0.0 ≤ 39.8.4 ≥ 40.0.0, ≤ 40.8.4 ≥ 41.0.0, < 41.1.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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 if they call clipboard.readImage(). Apps that do not read images from the clipboard are not affected. This issue does not allow memory corruption or code execution. This vulnerability is fixed in 39.8.5, 40.8.5, 41.1.0, and 42.0.0-alpha.5.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34781
BreachSpider IDBS-2026-GLOBAL-151347-L
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published2026-04-07
Last modified2026-07-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-476: NULL Pointer Dereference

Software attempts to use a NULL pointer, causing a crash and denial of service.

Analysis AI-written, not human-reviewed

Electron applications prior to specific versions are vulnerable to a denial of service attack when reading image data from the clipboard that fails to decode, leading to a controlled abort.

An attacker can exploit this vulnerability by placing specially crafted image data in the system clipboard that, when read by an Electron application using clipboard.readImage(), causes the application to crash due to a null bitmap being passed to image construction.

Questions

What is CVE-2026-34781?

Electron applications prior to specific versions are vulnerable to a denial of service attack when reading image data from the clipboard that fails to decode, leading to a controlled abort.

What is the CVSS score for CVE-2026-34781?

CVE-2026-34781 has CVSS 3.3 (Low). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L. EPSS: 0.2%.

Is CVE-2026-34781 actively exploited?

No confirmed active exploitation of CVE-2026-34781 as of 2026-07-25.

How do I remediate CVE-2026-34781?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34781?

CVE-2026-34781 affects Electronjs Electron.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Electronjs","product":"Electron","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.