CVE-2026-40489: editorconfig-core-c is an EditorConfig core library for use by plugins supporting EditorConfig parsing
Affects editorconfig-coreSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.6 High · fixed in 0.12.0-2ubuntu0.1~esm3 : patch editorconfig-core soon.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.12.0-2ubuntu0.1~esm3, 0.12.1-1.1ubuntu0.18.04.1~esm3, 0.12.1-1.1+deb11u1ubuntu0.1~esm1 +4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10editorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- ubuntu.com/security/CVE-2026-40489 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-40489 (opens in a new tab)
- github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-97xg-vrcq-254h (opens in a new tab)
- ubuntu.com/security/notices/USN-8238-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8238-2 (opens in a new tab)