4.8medium
Several stack buffer overflows and pointer overflows in editorconfig-core-c
- Severity
- 4.8medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.20% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| editorconfig editorconfig-core-c | < 0.12.7 | CVE List |
| editorconfig editorconfig | before 0.12.7 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
editorconfig-core-c es la librería principal de EditorConfig escrita en C (para uso de complementos que admitan el análisis de EditorConfig). En las versiones afectadas, pueden producirse varios desbordamientos en el caso de conmutación '[' cuando el patrón de entrada contiene muchos caracteres de escape. Las barras invertidas agregadas dejan muy poco espacio en el patrón de salida al procesar corchetes anidados, de modo que la longitud de entrada restante excede la capacidad de salida. Este problema se ha solucionado en la versión de lanzamiento 0.12.7. Se recomienda a los usuarios que actualicen. No existen workarounds para esta vulnerabilidad.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53849 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2024-53849 changed 2026-06-17 | Public domain |