CVE-2024-53849

Several stack buffer overflows and pointer overflows in editorconfig-core-c

State
Published
Severity
4.8 Medium
Published
Nov 26, 2024
Updated
Nov 3, 2025
Reserved
Nov 22, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-121 Stack-based Buffer Overflow

Affected Products

ProductVersions
editorconfig-core-ceditorconfig
  • < 0.12.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.