Skip to main content
VulnerabilityPublished Updated

CVE-2026-40489: editorconfig-core-c is an EditorConfig core library for use by plugins supporting EditorConfig parsing

Affects editorconfig-coreSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-40489· High 8.6

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

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=resoluteOther threatsAffected
  • <0.12.10+~0.17.1-3ubuntu0.1
Fixed in
  • 0.12.10+~0.17.1-3ubuntu0.1
Ubuntu 25.10editorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=questingOther threatsAffected
  • <0.12.9+~0.17.1-1ubuntu2.1
Fixed in
  • 0.12.9+~0.17.1-1ubuntu2.1
Ubuntu 24.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=nobleOther threatsAffected
  • <0.12.7-0.1ubuntu0.1
Fixed in
  • 0.12.7-0.1ubuntu0.1
Ubuntu Pro 22.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.12.5-2ubuntu0.1~esm3
Fixed in
  • 0.12.5-2ubuntu0.1~esm3
Ubuntu Pro 20.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps/focalOther threatsAffected
  • <0.12.1-1.1+deb11u1ubuntu0.1~esm1
  • =0.12.1-1.1ubuntu0.20.04.1~esm1
Fixed in
  • 0.12.1-1.1+deb11u1ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSeditorconfig-corepkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <0.12.1-1.1ubuntu0.18.04.1~esm3
Fixed in
  • 0.12.1-1.1ubuntu0.18.04.1~esm3

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

Community reviews

Loading reviews…