CVE-2026-40489editorconfig-core-c
High 8.6
Follow: this CVE · editorconfig · editorconfig-core-c We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 18, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
editorconfig-core-c is an EditorConfig core library for use by plugins supporting EditorConfig parsing. Versions up to and including 0.12.10 have a stack-based buffer overflow in ec_glob() that allows an attacker to crash any application using libeditorconfig by providing a specially crafted directory structure and .editorconfig file. This is an incomplete fix for CVE-2023-0341. The pcre_str buffer was protected in 0.12.6 but the adjacent l_pattern[8194] stack buffer received no equivalent protection. On Ubuntu 24.04, FORTIFY_SOURCE converts the overflow to SIGABRT (DoS). Version 0.12.11 contains an updated fix.
What to do
- Apply the vendor's security update for editorconfig-core-c.
Affected products
- editorconfig · editorconfig-core-c
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for editorconfig-core-c · SUSE · SUSE-SU-2026:2731-1 · Jul 2, 2026 High
- Security update for editorconfig-core-c · SUSE · openSUSE-SU-2026:20966-1 · Jun 15, 2026 High
- Security update for editorconfig-core-c · SUSE · SUSE-SU-2026:22125-1 · Jun 15, 2026 High
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.