CVE-2024-53849 json
Several stack buffer overflows and pointer overflows in editorconfig-core-c
published 2024-11-26 23 mo ago modified 2026-06-17 4 mo ago also EUVD-2024-52173
- cvss
- 4.8
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- editorconfig editorconfig 0.12.7
- editorconfig-core Debian 14, Debian 13 0.12.7-0.1
debian advisories DEBIAN-CVE-2024-53849
- editorconfig-core Ubuntu 20.04 LTS 0.12.1-1.1+deb11u1build0.20.04.1
- editorconfig-core Ubuntu Pro 16.04 LTS 0.12.0-2ubuntu0.1~esm2
- editorconfig-core Ubuntu Pro 18.04 LTS 0.12.1-1.1ubuntu0.18.04.1~esm2
- editorconfig-core Ubuntu Pro 22.04 LTS 0.12.5-2ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2024-53849
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- editorconfig-core-c SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 0.12.6-150600.3.3.1
suse advisories SUSE-SU-2024:4152-1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 4.8 | 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 |
| CNA | 4.0 | 4.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- editorconfig editorconfig-core-c
- editorconfig editorconfig
Classification
- Weakness
-
- CWE-121 Stack-based Buffer Overflow
References
- github.com /editorconfig/editorconfig-core-c/pull/103
- github.com /editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782
- github.com /editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70b
- github.com /editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274
- editorconfig.org
- lists.debian.org /debian-lts-announce/2024/11/msg00036.html
Sources
- CVE List CVE-2024-53849
- NVD CVE-2024-53849
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.