CVE-2023-0341

Stack Buffer Overflow in editorconfig-core-c

Published Jan 31, 2023 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3978-1 editorconfig-core security update
EUVD EUVD EUVD-2023-12402 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.
Ubuntu USN Ubuntu USN USN-5842-1 EditorConfig Core C vulnerability
Ubuntu USN Ubuntu USN USN-7168-1 EditorConfig vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Nov 3, 2025, 9:46 PM
Reserved
Jan 17, 2023, 4:04 PM
Status
Modified
Published
Feb 1, 2023, 12:15 AM
Modified
Jun 17, 2026, 5:25 AM