CVE-2023-0341
published high CVSS 3.1 · 7.8Stack Buffer Overflow in editorconfig-core-c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| EditorConfig | — | editorconfig-core-cEditorConfig C Core · 0 to < v0.12.6 · Platforms: Linux, MacOS, Windows | Affected | Not stated | canonical |
| Debian | bullseye | editorconfig-core | Advisory build | 0.12.1-1.1+deb11u1 | DLA-3978-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | editorconfigaarch64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| Ubuntu | bionic | editorconfig | Advisory build | 0.12.1-1.1ubuntu0.18.04.1~esm1 | USN-5842-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | editorconfigi586 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | editorconfigppc64le | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | editorconfigs390x | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | editorconfigx86_64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
Show 40 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig-develaarch64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig-develi586 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig-develppc64le | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig-devels390x | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig-develx86_64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig-devel-32bitx86_64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig-devel-64bitaarch64_ilp32 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig0aarch64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig0i586 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig0ppc64le | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig0s390x | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig0x86_64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig0-32bitx86_64 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libeditorconfig0-64bitaarch64_ilp32 | Advisory build | 0.12.6-bp154.2.3.1 | OPENSUSE-SU-2023:0102-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigaarch64 | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigppc64le | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigs390x | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigx86_64 | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-develaarch64 | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-develppc64le | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-devels390x | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-develx86_64 | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0aarch64 | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0ppc64le | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0s390x | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0x86_64 | Advisory build | 0.12.6-1.1 | OPENSUSE-SU-2024:12906-1 |
| Ubuntu | bionic | editorconfig-core | Advisory build | 0.12.1-1.1ubuntu0.18.04.1~esm1 | USN-5842-1 |
| Ubuntu | bionic | libeditorconfig0 | Advisory build | 0.12.1-1.1ubuntu0.18.04.1~esm1 | USN-5842-1 |
| Ubuntu | focal | editorconfig | Advisory build | 0.12.1-1.1+deb11u1build0.20.04.1 | USN-7168-1 |
| Ubuntu | focal | editorconfig | Advisory build | 0.12.1-1.1ubuntu0.20.04.1~esm1 | USN-5842-1 |
| Ubuntu | focal | editorconfig-core | Advisory build | 0.12.1-1.1+deb11u1build0.20.04.1 | USN-7168-1 |
| Ubuntu | focal | editorconfig-core | Advisory build | 0.12.1-1.1ubuntu0.20.04.1~esm1 | USN-5842-1 |
| Ubuntu | focal | libeditorconfig0 | Advisory build | 0.12.1-1.1+deb11u1build0.20.04.1 | USN-7168-1 |
| Ubuntu | focal | libeditorconfig0 | Advisory build | 0.12.1-1.1ubuntu0.20.04.1~esm1 | USN-5842-1 |
| Ubuntu | jammy | editorconfig | Advisory build | 0.12.5-2ubuntu0.1~esm1 | USN-5842-1 |
| Ubuntu | jammy | editorconfig-core | Advisory build | 0.12.5-2ubuntu0.1~esm1 | USN-5842-1 |
| Ubuntu | jammy | libeditorconfig0 | Advisory build | 0.12.5-2ubuntu0.1~esm1 | USN-5842-1 |
| Ubuntu | xenial | editorconfig | Advisory build | 0.12.0-2ubuntu0.1~esm1 | USN-5842-1 |
| Ubuntu | xenial | editorconfig-core | Advisory build | 0.12.0-2ubuntu0.1~esm1 | USN-5842-1 |
| Ubuntu | xenial | libeditorconfig0 | Advisory build | 0.12.0-2ubuntu0.1~esm1 | USN-5842-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| EditorConfig | EditorConfig C Core | 0 to < v0.12.6 (affected · commit) | canonical · cna |
Weaknesses
1- CWE-121
References
5- https://github.com/editorconfig/editorconfig-core-c/commit/41281ea82fbf24b060a9f69b9c5369350fb0529e
- https://lists.debian.org/debian-lts-announce/2024/11/msg00036.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZCFE7DXWAAKDJPRKMXHCACKGKNV37IYZ/
- https://litios.github.io/2023/01/14/CVE-2023-0341.html
- https://ubuntu.com/security/notices/USN-5842-1
Provider assertions
3canonical · cna
Stack Buffer Overflow in editorconfig-core-c
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 57953c46eafc3330f6ab7f3d0e20c79f2f7e2454c7fc51918da6ab62c5bd39c1
- Ingested
- 23 Sep 2026, 08:05:07 UTC
- Source record
- Official CVE record