# CVE-2024-53849: Several stack buffer overflows and pointer overflows in editorconfig-core-c

- Severity: Medium 4.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-11-26T23:34:58.784Z
- Modified: 2026-06-17T08:09:24.900Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- editorconfig editorconfig-core-c: < 0.12.7
- editorconfig editorconfig: before 0.12.7

## References

- <https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274>
- <https://github.com/editorconfig/editorconfig-core-c/pull/103>
- <https://github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782>
- <https://github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70b>
- <http://editorconfig.org>
- <https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html>

## Sources

- CVE List: [CVE-2024-53849](https://www.cve.org/CVERecord?id=CVE-2024-53849), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2024-53849](https://nvd.nist.gov/vuln/detail/CVE-2024-53849), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53849 · Whole record: https://cve.day/CVE-2024-53849.json · Rebuilt by cve.day 2026-11-25T22:58:49.487Z
