Skip to main content
VulnerabilityPublished Updated

CVE-2024-53849: editorconfig-core-c · Stack-based Buffer Overflow

Affects editorconfig-core-cSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.04.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Nov 2024

  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 21 Nov 2026.

What to do

Upgrade editorconfig/editorconfig-core-c to 0.12.7.

Affected software

ProductAffectedFixed in
GitHubeditorconfig/editorconfig-core-cpkg:github/editorconfig/editorconfig-core-cOther threatsAffected
  • <0.12.7
Fixed in
  • 0.12.7

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

Community reviews

Loading reviews…