VDB

CVE-2024-53849

CVE-2024-53849 PUBLISHED CVSS 4.8 MEDIUM

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

CVSS 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

Affected products

VendorProductVersions
editorconfigeditorconfig-core-c< 0.12.7
editorconfigeditorconfig0
editorconfigeditorconfig-core-c0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›