CVE-2026-40489

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

HIGH
8.6
CVSS Score
Published: April 18, 2026 at 01:24 AM UTC
Updated: June 17, 2026 at 10:45 AM UTC
1 product affected across 1 vendorEditorConfig Core C

Using editorconfig-core-c by editorconfig?

Get instant alerts when new vulnerabilities affect editorconfig-core-c - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.6
Exploit prediction
EPSS 0.2%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.12.11
Affected range stops below 0.12.11, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.6HIGHGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-121CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card