{"id":"CVE-2023-0341","aliases":["CVE-2023-0341"],"related":[],"kind":"vulnerability","state":"published","title":"Stack Buffer Overflow in editorconfig-core-c","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-01-31T23:22:53.634Z","modified":"2026-06-17T05:25:19.530Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-121","CWE-787"],"affected":[{"ranges":[{"type":"commit","introduced":"0","fixed":"v0.12.6","status":"affected"}],"vendor":"EditorConfig","product":"EditorConfig C Core","package":"editorconfig-core-c","repo":"https://github.com/editorconfig/editorconfig-core-c/","platforms":["Linux","MacOS","Windows"],"source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.12.6"}],"vendor":"editorconfig","product":"editorconfig","cpe":"cpe:2.3:a:editorconfig:editorconfig:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://litios.github.io/2023/01/14/CVE-2023-0341.html","tags":["exploit","patch","technical-description","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://ubuntu.com/security/notices/USN-5842-1","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["David Fernandez Gonzalez","Mark Esler"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-03-27T14:28:20.466Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-0341","url":"https://www.cve.org/CVERecord?id=CVE-2023-0341","licence":"CVE Terms of Use","modified":"2025-11-03T21:46:50.070Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-0341","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0341","licence":"Public domain","modified":"2026-06-17T05:25:19.530Z"}],"updatedAt":"2026-11-25T22:58:21.781Z","epss":{"score":0.01078,"percentile":0.66026,"date":"2026-12-01T12:00:22.000Z"}}