Every CVE Search/ Get API key

CVE-2023-0341

Stack Buffer Overflow in editorconfig-core-c

7.8 HighFix available

CVE-2023-0341 is a high vulnerability (CVSS 7.8) in Editorconfig, published January 30, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.96%, the 61st percentile. Fixed in editorconfig-core 0.12.6-0.1.

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.96%Down 0.7 points since Feb 1, 2023
90%50%10%1%

What each source reports

CVE List Score used 7.8

Stack Buffer Overflow in editorconfig-core-c

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.

Record
CVE-2023-0341
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-121
Updated
2026-11-02
EUVDEUVD-2023-12402 7.8

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.

Record
EUVD-2023-12402
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-f352-cwm8-5w9w 7.8

A stack buffer overflow exists in the ec_glob function of editorconfig-core-c before v0.12.6...

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.

Record
GHSA-f352-cwm8-5w9w
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-121, CWE-787
Updated
2026-11-02
NVD 7.8

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.

Record
CVE-2023-0341
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-121, CWE-787
Updated
2026-11-02
OSV 7.8

Stack Buffer Overflow in editorconfig-core-c

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.

Record
CVE-2023-0341
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-121
Updated
2026-11-02
OSVDEBIAN-CVE-2023-0341 7.8

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.

Record
DEBIAN-CVE-2023-0341
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2023-0341 7.8

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.

Record
UBUNTU-CVE-2023-0341
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2023-0048 No score

Updated editorconfig-core-c packages fix security vulnerability

Mark Esler and David Fernandez Gonzalez discovered that EditorConfig Core C incorrectly handled memory when handling certain inputs. An attacker could possibly use this issue to cause applications using EditorConfig Core C to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2023-0341)

Record
MGASA-2023-0048
Updated
2026-11-02
OSVopenSUSE-SU-2023:0102-1 No score

Security update for editorconfig-core-c

This update for editorconfig-core-c fixes the following issues:

Update to version 0.12.6:

  • CVE-2023-0341: Fixed a buffer overflow in ec_blob (boo#1211032)
  • Update property key, value length limits per spec change
Record
openSUSE-SU-2023:0102-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12906-1 No score

editorconfig-0.12.6-1.1 on GA media

These are all security issues fixed in the editorconfig-0.12.6-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12906-1
Updated
2026-11-02
OSVUSN-5842-1 No score

editorconfig-core vulnerability

Mark Esler and David Fernandez Gonzalez discovered that EditorConfig Core C incorrectly handled memory when handling certain inputs. An attacker could possibly use this issue to cause applications using EditorConfig Core C to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-5842-1
Updated
2026-11-02
OSVUSN-7168-1 No score

editorconfig-core vulnerabilities

It was discovered that EditorConfig improperly managed memory when handling certain inputs, leading to overflows. An attacker could possibly use these issues to cause a denial of service, or execute arbitrary code.

Record
USN-7168-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
editorconfig-core
Debian:12
before 0.12.6-0.1
0.12.6-0.1
editorconfig-core
Debian:13
before 0.12.6-0.1
0.12.6-0.1
editorconfig-core
Debian:14
before 0.12.6-0.1
0.12.6-0.1
editorconfig-core
Debian:11
before 0.12.1-1.1+deb11u1, plus listed versions
0.12.1-1.1
0.12.1-1.1+deb11u1
editorconfig-core-c
Mageia:8
before 0.12.6-1.mga8
0.12.6-1.mga8
editorconfig-core
Ubuntu:Pro:16.04:LTS
before 0.12.0-2ubuntu0.1~esm1, plus listed versions
0.12.0-2
0.12.0-2ubuntu0.1~esm1
editorconfig-core
Ubuntu:Pro:18.04:LTS
before 0.12.1-1.1ubuntu0.18.04.1~esm1, plus listed versions
0.12.1-10.12.1-1.1
0.12.1-1.1ubuntu0.18.04.1~esm1
editorconfig-core
Ubuntu:20.04:LTS
before 0.12.1-1.1+deb11u1build0.20.04.1, plus listed versions
0.12.1-1.1
0.12.1-1.1+deb11u1build0.20.04.1
editorconfig-core
Ubuntu:Pro:20.04:LTS
before 0.12.1-1.1ubuntu0.20.04.1~esm1, plus listed versions
0.12.1-1.1
0.12.1-1.1ubuntu0.20.04.1~esm1
editorconfig-core
Ubuntu:Pro:22.04:LTS
before 0.12.5-2ubuntu0.1~esm1, plus listed versions
0.12.1-1.10.12.1-20.12.5-2
0.12.5-2ubuntu0.1~esm1
Show 5 moreShow less
Affected packages
PackageAffectedFixed
editorconfig-core
Ubuntu:Pro:16.04:LTS
before 0.12.0-2ubuntu0.1~esm2, plus listed versions
0.12.0-20.12.0-2ubuntu0.1~esm1
0.12.0-2ubuntu0.1~esm2
editorconfig-core
Ubuntu:Pro:18.04:LTS
before 0.12.1-1.1ubuntu0.18.04.1~esm2, plus listed versions
0.12.1-10.12.1-1.10.12.1-1.1ubuntu0.18.04.1~esm1
0.12.1-1.1ubuntu0.18.04.1~esm2
editorconfig-core
Ubuntu:Pro:22.04:LTS
before 0.12.5-2ubuntu0.1~esm2, plus listed versions
0.12.1-1.10.12.1-20.12.5-20.12.5-2ubuntu0.1~esm1
0.12.5-2ubuntu0.1~esm2
editorconfig-core-c
SUSE:Package Hub 15 SP4
before 0.12.6-bp154.2.3.1
0.12.6-bp154.2.3.1
editorconfig-core-c
openSUSE:Leap 15.4
before 0.12.6-bp154.2.3.1
0.12.6-bp154.2.3.1

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 15 moreShow less
MoveEnter Open