{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-0341","id":"CVE-2023-0341","title":"Stack Buffer Overflow in editorconfig-core-c","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.","descriptionLong":"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.","published":"2023-01-31T23:22:53.634Z","updated":"2026-10-28T10:36:07.040737304Z","reserved":"2023-01-17T16:04:01.890Z","status":"Modified","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"canonical"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"canonical"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"ubuntu.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["EditorConfig C Core"],"affectedProducts":[{"vendor":"EditorConfig","product":"EditorConfig C Core","defaultStatus":null,"versions":[{"lessThan":"v0.12.6","status":"affected","version":"0","versionType":"commit"}],"platforms":["Linux","MacOS","Windows"]}],"packages":[],"cwes":["CWE-121","CWE-787"],"aliases":[],"references":[{"url":"https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e","tags":["patch","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://litios.github.io/2023/01/14/CVE-2023-0341.html","tags":["technical-description","x_transferred","Exploit","Patch","Third Party Advisory","article"]},{"url":"https://ubuntu.com/security/notices/USN-5842-1","tags":["third-party-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/","tags":["x_transferred","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html","tags":["web"]},{"url":"https://github.com/editorconfig/editorconfig-core-c/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0341.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0341","tags":["advisory"]},{"url":"https://github.com/editorconfig/editorconfig-core-c/releases","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00999,"epssPercentile":0.63421,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-0341","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0341","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-0341","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-0341","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}