What’s Vulnerable › Vulnerabilities
CVE-2023-0341: Stack Buffer Overflow in editorconfig-core-c
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-02-01 · updated 2026-06-17
- Weakness: CWE-121
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.
Affected products
- EditorConfig C Core: before 0.12.6 — fixed in 0.12.6
How to fix
Upgrade to a fixed version: EditorConfig C Core 0.12.6. Check the vendor advisory for mitigations.
References
- https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/
- https://litios.github.io/2023/01/14/CVE-2023-0341.html
- https://ubuntu.com/security/notices/USN-5842-1
- https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e
- https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/
- https://litios.github.io/2023/01/14/CVE-2023-0341.html
- https://ubuntu.com/security/notices/USN-5842-1
Get alerted when CVE-2023-0341 or the next vulnerability affects your stack