CVE-2026-54257

Source
https://cve.org/CVERecord?id=CVE-2026-54257
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54257.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54257
Aliases
Published
2026-06-23T17:08:31.786Z
Modified
2026-07-08T07:15:49.398447793Z
Severity
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Electron: Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow
Details

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From 42.3.1 until 42.3.3, Buffer performs incorrect byte length calculations resulting in heap buffer under/overflow. Most apps will crash and some may perform incorrect buffer allocations in the Node.js Buffer API resulting in unexpected truncation or allocation. This vulnerability is fixed in 42.3.3.

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

Affected packages

Git / github.com/electron/electron

Affected ranges

Type
GIT
Repo
https://github.com/electron/electron
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "42.3.1"
        },
        {
            "fixed": "42.3.3"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v42.*
v42.3.1
v42.3.2

Database specific

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