CVE-2026-34781

Source
https://cve.org/CVERecord?id=CVE-2026-34781
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34781.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-34781
Aliases
Published
2026-04-07T21:20:12.517Z
Modified
2026-07-08T08:01:16.980597395Z
Severity
  • 2.8 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Electron crashes in clipboard.readImage() on malformed clipboard image data
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34781.json",
    "cwe_ids": [
        "CWE-476"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/electron/electron

Affected ranges

Type
GIT
Repo
https://github.com/electron/electron
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Introduced
Introduced
Fixed
Introduced
Database specific
{
    "cpe": [
        "cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*",
        "cpe:2.3:a:electronjs:electron:41.2.0:*:*:*:*:node.js:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "39.8.4"
        },
        {
            "introduced": "40.0.0"
        },
        {
            "last_affected": "40.8.4"
        },
        {
            "introduced": "41.0.0"
        },
        {
            "fixed": "41.1.0"
        },
        {
            "introduced": "41.2.0"
        },
        {
            "last_affected": "41.2.0"
        }
    ],
    "source": [
        "CPE_RANGE",
        "CPE_STRING"
    ]
}

Affected versions

41.*
41.2.0
v41.*
v41.0.0
v41.0.1
v41.0.2
v41.0.3
v41.0.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34781.json"