CVE-2024-53849

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

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.

Category

4.8
CVSS
Severity: Medium
CVSS 4.0 •
EPSS 0.06%
Affected: editorconfig editorconfig-core-c
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-53849?
CVE-2024-53849 has been scored as a medium severity vulnerability.
How to fix CVE-2024-53849?
To fix CVE-2024-53849, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-53849 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-53849 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-53849?
CVE-2024-53849 affects editorconfig editorconfig-core-c.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.