CVE-2024-53849

MEDIUM

EditorConfig core-c <0.12.7 - Buffer Overflow

Title source: llm
STIX 2.1

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.

Scores

CVSS v4 4.8
EPSS 0.0017
EPSS Percentile 37.9%
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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-121
Status published
Products (1)
editorconfig/editorconfig-core-c < 0.12.7
Published Nov 27, 2024
Tracked Since Feb 18, 2026