CVE-2024-53849CWE-121

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

Medium · published November 26, 2024

CVSS v4.0
4.8
EPSS
0%
Percentile
9.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.8 · MEDIUM
Vector
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
EPSS
0.00204 · 9.9th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2024-11-26T23:34Z
EPSS history
Timeline
  • 26 NOV 23:34Z
    Several stack buffer overflows and pointer overflows in editorconfig-core-c
    cvelistv5