CVE-2024-53849
Several stack buffer overflows and pointer overflows in editorconfig-core-c
Reported by github_m · Published November 26, 2024
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| editorconfig | editorconfig-core-c | < 0.12.7 |
| editorconfig | editorconfig | 0 |
| editorconfig | editorconfig-core-c | 0 |
Timeline
- Nov 26, 2024 CVE Published
- Nov 26, 2024 PoC Published (2 in total, the first dated here)
- Nov 27, 2024 EPSS Score (30 in total, the first dated here)
- Nov 27, 2024 Coalition ESS Score (10 in total, the first dated here)
- Dec 5, 2025 CVE Updated
- Dec 31, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-53849
vulnetix vdb fixes CVE-2024-53849
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53849/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274 x_refsource_CONFIRM
- https://github.com/editorconfig/editorconfig-core-c/pull/103 x_refsource_MISC
- https://github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782 x_refsource_MISC
- https://github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70b x_refsource_MISC
- http://editorconfig.org x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html url