Skip to main content
← All vulnerabilities
CVE-2024-53849

Several stack buffer overflows and pointer overflows in editorconfig-core-c

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • editorconfig editorconfig-core-c

    fixed in 0.12.7

References 5

GitHub · editorconfig/editorconfig-core-c

editorconfig.org