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

Published Nov 26, 2024
·
Updated

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.

Affected Software

1 affected componentFixes available
debian/editorconfig-core<=0.12.1-1.1, <=0.12.6-0.1
0.12.1-1.1+deb11u10.12.9+~0.17.1-1

Event History

Nov 26, 2024
CVE Published
via MITRE·11:34 PM
Data Sourced
via MITRE·11:34 PM
DescriptionWeakness
Nov 27, 2024
Data Sourced
via NVD·12:15 AM
DescriptionSeverityWeakness
Dec 18, 2024
Data Sourced
via Ubuntu·11:16 AM
RemedyDescriptionSeverityAffected Software
Apr 16, 2025
Data Sourced
via Debian·02:46 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-53849?

CVE-2024-53849 is considered a medium severity vulnerability due to potential input validation issues leading to memory overflows.

2

How do I fix CVE-2024-53849?

To fix CVE-2024-53849, update the editorconfig-core package to versions 0.12.1-1.1+deb11u1 or 0.12.9+~0.15.1-1.

3

Who is affected by CVE-2024-53849?

CVE-2024-53849 affects users of the editorconfig-core library written in C, specifically those using vulnerable versions of the package.

4

What causes CVE-2024-53849?

CVE-2024-53849 is caused by several overflows that may occur in the switch case '[' when processing input patterns with excessive escaped characters.

5

When was CVE-2024-53849 reported?

CVE-2024-53849 was reported in 2024 and affects specific versions of the editorconfig-core software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203