Skip to content

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

MediumCVSS 4.8 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

6 packages: 4 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
debian/editorconfig-core(Debian 12) = 0.12.6-0.1; = 0.12.7-0.1; = 0.12.9+~0.15.1-1; = 0.12.9+~0.17.1-1 +5 more No fix listed No fix yet
debian/editorconfig-core(Debian 13) < 0.12.7-0.1 0.12.7-0.1 Fixed
debian/editorconfig-core(Debian 14) < 0.12.7-0.1 0.12.7-0.1 Fixed
editorconfig < 0.12.7 0.12.7 Fixed
ubuntu/editorconfig-core(Ubuntu 22.04) < 0.12.5-2ubuntu0.1~esm2 0.12.5-2ubuntu0.1~esm2 Fixed
editorconfig-core-c = < 0.12.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/editorconfig-core(Debian:12) All versions No fix listed
debian/editorconfig-core(Debian:12) = 0.12.10+~0.17.1-1 No fix listed
debian/editorconfig-core(Debian:12) = 0.12.10+~0.17.1-2 No fix listed
debian/editorconfig-core(Debian:12) = 0.12.10+~0.17.1-3 No fix listed
debian/editorconfig-core(Debian:12) = 0.12.6-0.1 No fix listed
debian/editorconfig-core(Debian:12) = 0.12.7-0.1 No fix listed
debian/editorconfig-core(Debian:12) = 0.12.9+~0.15.1-1 No fix listed
debian/editorconfig-core(Debian:12) = 0.12.9+~0.17.1-1 No fix listed
debian/editorconfig-core(Debian:12) = 0.12.9+~0.17.1-2 No fix listed
debian/editorconfig-core(Debian:13) < 0.12.7-0.1 0.12.7-0.1
debian/editorconfig-core(Debian:14) < 0.12.7-0.1 0.12.7-0.1
ubuntu/editorconfig-core(Ubuntu:22.04) < 0.12.5-2ubuntu0.1~esm2 0.12.5-2ubuntu0.1~esm2
editorconfig-core-c = < 0.12.7 No fix listed
editorconfig < 0.12.7 0.12.7

References