{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53849","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-11-22T17:30:02.140Z","datePublished":"2024-11-26T23:34:58.784Z","dateUpdated":"2025-11-03T22:29:45.195Z"},"containers":{"cna":{"title":"Several stack buffer overflows and pointer overflows in editorconfig-core-c","problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","vectorString":"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"}}],"references":[{"name":"https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274","tags":["x_refsource_CONFIRM"],"url":"https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-475j-wc37-6274"},{"name":"https://github.com/editorconfig/editorconfig-core-c/pull/103","tags":["x_refsource_MISC"],"url":"https://github.com/editorconfig/editorconfig-core-c/pull/103"},{"name":"https://github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782","tags":["x_refsource_MISC"],"url":"https://github.com/editorconfig/editorconfig-core-c/commit/4d5518a0a4e4910c37281ab13a048d0d86999782"},{"name":"https://github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70b","tags":["x_refsource_MISC"],"url":"https://github.com/editorconfig/editorconfig-core-c/commit/a8dd5312e08abeab95ff5656d32ed3cb85fba70b"},{"name":"http://editorconfig.org","tags":["x_refsource_MISC"],"url":"http://editorconfig.org"}],"affected":[{"vendor":"editorconfig","product":"editorconfig-core-c","versions":[{"version":"< 0.12.7","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-11-26T23:34:58.784Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-475j-wc37-6274","discovery":"UNKNOWN"}},"adp":[{"affected":[{"vendor":"editorconfig","product":"editorconfig","cpes":["cpe:2.3:a:editorconfig:editorconfig:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.12.7","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-27T15:33:19.707403Z","id":"CVE-2024-53849","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-11-27T15:35:10.367Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T22:29:45.195Z"}}]}}