CVE-2024-53849: editorconfig-core-c · Stack-based Buffer Overflow
Affects editorconfig-core-cSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium : upgrade to 0.12.7 when convenient.
Data as of 21 Nov 2026, 17:34 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 4.8 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.12.7
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Nov 2024
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 21 Nov 2026.
What to do
Upgrade editorconfig/editorconfig-core-c to 0.12.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubeditorconfig/editorconfig-core-cpkg:github/editorconfig/editorconfig-core-cOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The definitive mitigation is to upgrade all instances of editorconfig-core-c to version 0.12.7 or later, where the vulnerability has been addressed. Organizations should audit their development environments, build systems, and any integrated development tools to identify usage of editorconfig-core-c and ensure they are not running vulnerable versions. Since no workarounds exist, patch management processes should prioritize this update. Additionally, enforcing strict access controls and limiting local user privileges can reduce the risk of exploitation. Monitoring development systems for unusual crashes or behavior may help detect attempted exploitation. Incorporating this vulnerability into vulnerability management and software composition analysis tools will aid in ongoing detection. Finally, educating developers and IT staff about the importance of keeping development dependencies up to date is critical to prevent similar risks.
Description
editorconfig-core-c is theEditorConfig core library written in C (for use by plugins supporting EditorConfig parsing). In affected versions several overflows may occur in switch case '[' when the input pattern contains many escaped characters. The added backslashes leave too little space in the output pattern when processing nested brackets such that the remaining input length exceeds the output capacity. This issue has been addressed in release version 0.12.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.
References
- github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274 (opens in a new tab)
- github.com/editorconfig/editorconfig-core-c/pull/103 (opens in a new tab)
- github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782 (opens in a new tab)
- github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70b (opens in a new tab)
- editorconfig.org (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/11/msg00036.html (opens in a new tab)