{"id":"CVE-2023-0341","sourceIdentifier":"security@ubuntu.com","published":"2023-02-01T00:15:10.343","lastModified":"2026-06-17T05:25:19.530","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"A stack buffer overflow exists in the ec_glob function of editorconfig-core-c before v0.12.6 which allowed an attacker to arbitrarily write to the stack and possibly allows remote code execution. editorconfig-core-c v0.12.6 resolved this vulnerability by bound checking all write operations over the p_pcre buffer."}],"affected":[{"source":"security@ubuntu.com","affectedData":[{"vendor":"EditorConfig","product":"EditorConfig C Core","collectionURL":"https://github.com/editorconfig/editorconfig-core-c/releases","packageName":"editorconfig-core-c","modules":["configuration file parsing"],"platforms":["Linux","MacOS","Windows"],"repo":"https://github.com/editorconfig/editorconfig-core-c/","versions":[{"version":"0","lessThan":"v0.12.6","versionType":"commit","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-03-27T14:28:20.466703Z","id":"CVE-2023-0341","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@ubuntu.com","type":"Secondary","description":[{"lang":"en","value":"CWE-121"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-787"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:editorconfig:editorconfig:*:*:*:*:*:*:*:*","versionEndExcluding":"0.12.6","matchCriteriaId":"063ADAC0-7C09-4775-87F0-A2FE98E99FC7"}]}]}],"references":[{"url":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e","source":"security@ubuntu.com","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/","source":"security@ubuntu.com"},{"url":"https://litios.github.io/2023/01/14/CVE-2023-0341.html","source":"security@ubuntu.com","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5842-1","source":"security@ubuntu.com"},{"url":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://litios.github.io/2023/01/14/CVE-2023-0341.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5842-1","source":"af854a3a-2127-422b-91ae-364da2661108"}]}