{"api_version":"1","generated_at":"2026-04-18T08:32:40+00:00","cve":"CVE-2023-0341","urls":{"html":"https://cve.report/CVE-2023-0341","api":"https://cve.report/api/cve/CVE-2023-0341.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-0341","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-0341"},"summary":{"title":"CVE-2023-0341","description":"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.","state":"PUBLIC","assigner":"security@ubuntu.com","published_at":"2023-02-01 00:15:00","updated_at":"2023-06-03 05:15:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/","refsource":"MISC","tags":[],"title":"[SECURITY] Fedora 37 Update: editorconfig-0.12.6-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://litios.github.io/2023/01/14/CVE-2023-0341.html","name":"https://litios.github.io/2023/01/14/CVE-2023-0341.html","refsource":"MISC","tags":[],"title":"Cve 2023 0341","mime":"application/octet-stream","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e","name":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e","refsource":"MISC","tags":[],"title":"Fix potential buffer overflow in ec_glob (#87) · editorconfig/editorconfig-core-c@41281ea · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://ubuntu.com/security/notices/USN-5842-1","name":"https://ubuntu.com/security/notices/USN-5842-1","refsource":"MISC","tags":[],"title":"USN-5842-1: EditorConfig Core C vulnerability | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-0341","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0341","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"341","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"editorconfig","cpe5":"editorconfig","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-0341","qid":"183424","title":"Debian Security Update for editorconfig-core (CVE-2023-0341)"},{"cve":"CVE-2023-0341","qid":"199488","title":"Ubuntu Security Notification for EditorConfig Core C Vulnerability (USN-5842-1)"},{"cve":"CVE-2023-0341","qid":"284008","title":"Fedora Security Update for editorconfig (FEDORA-2023-6e5d4757df)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-0341","ASSIGNER":"security@ubuntu.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-121","cweId":"CWE-121"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"EditorConfig","product":{"product_data":[{"product_name":"EditorConfig C Core","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"v0.12.6"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e","refsource":"MISC","name":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e"},{"url":"https://litios.github.io/2023/01/14/CVE-2023-0341.html","refsource":"MISC","name":"https://litios.github.io/2023/01/14/CVE-2023-0341.html"},{"url":"https://ubuntu.com/security/notices/USN-5842-1","refsource":"MISC","name":"https://ubuntu.com/security/notices/USN-5842-1"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/","refsource":"MISC","name":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/"}]},"credits":[{"lang":"en","value":"David Fernandez Gonzalez"},{"lang":"en","value":"Mark Esler"}],"impact":{"cvss":[{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}]}},"nvd":{"publishedDate":"2023-02-01 00:15:00","lastModifiedDate":"2023-06-03 05:15:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:editorconfig:editorconfig:*:*:*:*:*:*:*:*","versionEndExcluding":"0.12.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}