CVE-2023-0341
Stack Buffer Overflow in editorconfig-core-c
- State
- Published
- Severity
- 7.8 High
- Published
- Jan 31, 2023
- Updated
- Nov 3, 2025
- Reserved
- Jan 17, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | canonical |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
EditorConfig C CoreEditorConfig |
|
References
- https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529epatch
- https://litios.github.io/2023/01/14/CVE-2023-0341.htmltechnical-description
- https://ubuntu.com/security/notices/USN-5842-1third-party-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/
- https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.