{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-53849 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-53849 is a medium-severity memory corruption vulnerability in editorconfig-core-c, published on 26 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-53849 and fix it if it is affected.\n\nWhat it is: CVE-2024-53849 is a medium-severity memory corruption vulnerability in editorconfig-core-c, published on 26 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-53849 in the wild and no public exploit code.\n\nAffected product: editorconfig-core-c. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-53849/ (Markdown: https://insights.sbomify.com/CVE-2024-53849/index.md)","id":"CVE-2024-53849","markdown":"https://insights.sbomify.com/CVE-2024-53849/index.md","name":"CVE-2024-53849","record":{"aliases":["DEBIAN-CVE-2024-53849","GHSA-475j-wc37-6274","SUSE-SU-2024:4152-1","UBUNTU-CVE-2024-53849"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"EditorConfig C library","requires_auth":"low_privilege","summary":"Stack buffer overflows in editorconfig-core-c allow attackers to execute arbitrary code or cause denial of service via crafted patterns.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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.","ecosystems":["SUSE:Linux Enterprise Module for Development Tools 15 SP6","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Several stack buffer overflows and pointer overflows in editorconfig-core-c","id":"CVE-2024-53849","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":2,"n_references":5,"next":{"headline":"The Addressing GLPI plugin allows data enumeration through uncontrolled object instantiation","id":"CVE-2024-53850"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP6","fixed":["0.12.6-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"editorconfig-core-c","purl":"pkg:rpm/suse/editorconfig-core-c\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP6","source":"SUSE-SU-2024:4152-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.12.6-150600.3.3.1"],"introduced":["0"],"last_affected":[],"package":"editorconfig-core-c","purl":"pkg:rpm/opensuse/editorconfig-core-c\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:4152-1"}],"prev":{"headline":"check-jsonschema default caching for remote schemas allows for cache confusion","id":"CVE-2024-53848"},"products":["editorconfig-core-c"],"published":"2024-11-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["editorconfig"]},"summary":"Stack buffer overflows in editorconfig-core-c allow attackers to execute arbitrary code or cause denial of service via crafted patterns.","url":"https://insights.sbomify.com/CVE-2024-53849/"}