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.
References (5)
Core 5
Core References
Patch, Third Party Advisory patch
https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e
Exploit, Patch, Third Party Advisory technical-description
https://litios.github.io/2023/01/14/CVE-2023-0341.html
Vendor Advisory third-party-advisory
https://ubuntu.com/security/notices/USN-5842-1
Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/
Scores
CVSS v3
7.8
EPSS
0.0077
EPSS Percentile
73.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-121
CWE-787
Status
published
Products (1)
editorconfig/editorconfig
< 0.12.6
Published
Feb 01, 2023
Tracked Since
Feb 18, 2026