cve.bz

CVE-2024-53849 editorconfig editorconfig-core-c: Stack-based Buffer Overflow

4.8 mediumEPSS 0.2%

Medium (4.8) in editorconfig editorconfig-core-c. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

4.8 medium
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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-11-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-53849 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-53849?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-53849?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-53849 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
editorconfig-core-c< 0.12.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11editorconfig-core0.12.1-1.1+deb11u1DLA-3978-1
Debian12editorconfig-coreno fix listedDEBIAN-CVE-2024-53849
Debian13, 14editorconfig-core0.12.7-0.1DEBIAN-CVE-2024-53849
Ubuntu20.04:LTSeditorconfig-core0.12.1-1.1+deb11u1build0.20.04.1UBUNTU-CVE-2024-53849 USN-7168-1
UbuntuPro:16.04:LTSeditorconfig-core0.12.0-2ubuntu0.1~esm2UBUNTU-CVE-2024-53849 USN-7168-1
UbuntuPro:18.04:LTSeditorconfig-core0.12.1-1.1ubuntu0.18.04.1~esm2UBUNTU-CVE-2024-53849 USN-7168-1
UbuntuPro:22.04:LTSeditorconfig-core0.12.5-2ubuntu0.1~esm2UBUNTU-CVE-2024-53849 USN-7168-1
SUSELinux Enterprise Module for Development Tools 15 SP6editorconfig-core-c0.12.6-150600.3.3.1SUSE-SU-2024:4152-1
openSUSELeap 15.6editorconfig-core-c0.12.6-150600.3.3.1SUSE-SU-2024:4152-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

References

Check your stackJSON