Stack Buffer Overflow in editorconfig-core-c
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| editorconfig | EditorConfig C Core | before v0.12.6 | v0.12.6 | Patch available | CNA |
- EditorConfig C Core Vendoreditorconfig Affected before v0.12.6 Fixed in v0.12.6 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:editorconfig:editorconfig:*:*:*:*:*:*:*:* | before 0.12.6 | Vulnerable | editorconfig |
- cpe:2.3:a:editorconfig:editorconfig:*:*:*:*:*:*:*:* Versions before 0.12.6 Vulnerable ·editorconfig
Remediation
- Fix · CNA EditorConfig C Core (EditorConfig) Fixed in v0.12.6
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2023-0341
- 2026-10-03 Alias added: GHSA-f352-cwm8-5w9w
References
Patch 1
Sources
- CVE-2023-0341 · CVE Program
- CVE-2023-0341 · NVD
- FIRST EPSS
- GHSA-f352-cwm8-5w9w · GitHub Advisory Database · CC BY 4.0
- CVE-2023-0341 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences