Read the docs
TI-2026-29240 Aliases CVE-2026-40489

editorconfig-core-c has incomplete fix for CVE-2023-0341

Priority HIGH 72CWE-121Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00151 4th percentileScored 2026-11-07
Fix Fixed editorconfig-core-c (editorconfig): 0.12.11

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
editorconfigeditorconfig-core-cbefore 0.12.110.12.11Patch availableCNA
  • editorconfig-core-c Vendoreditorconfig Affected before 0.12.11 Fixed in 0.12.11 Patch available CNA

Remediation

  • Fix · CNA editorconfig-core-c (editorconfig) Fixed in 0.12.11

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40489

References

  • TI-2023-00325 Stack Buffer Overflow in editorconfig-core-c CVSS 3.1HIGH 7.8
  • TI-2024-36045 Several stack buffer overflows and pointer overflows in editorconfig-core-c CVSS 4.0MEDIUM 4.8

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences