CVE-2026-40489
published high CVSS 4.0 · 8.6editorconfig-core-c has incomplete fix for CVE-2023-0341
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| editorconfig | — | editorconfig-core-c< 0.12.11 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1642 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | editorconfig | Fixed | 0.12.11-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP7 | libeditorconfig0aarch64 | Advisory build | 0.12.6-150600.3.6.1 | SUSE-SU-2026:2731-1 |
| Ubuntu | bionic | editorconfig | Advisory build | 0.12.1-1.1ubuntu0.18.04.1~esm3 | USN-8238-2 |
| Amazon Linux | AL2023 | editorconfigaarch64 | Listed in advisory | Not stated | ALAS2023-2026-1642 |
| Alpine Linux | v3.24 | editorconfig | Fixed | 0.12.11-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP7 | libeditorconfig0ppc64le | Advisory build | 0.12.6-150600.3.6.1 | SUSE-SU-2026:2731-1 |
Show 56 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | libeditorconfig0s390x | Advisory build | 0.12.6-150600.3.6.1 | SUSE-SU-2026:2731-1 |
| SUSE / openSUSE | SLE-15-SP7 | libeditorconfig0x86_64 | Advisory build | 0.12.6-150600.3.6.1 | SUSE-SU-2026:2731-1 |
| SUSE / openSUSE | SLE-16 | editorconfigaarch64 | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | SLE-16 | editorconfigppc64le | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | SLE-16 | editorconfigs390x | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | SLE-16 | editorconfigx86_64 | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | SLE-16 | libeditorconfig0aarch64 | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | SLE-16 | libeditorconfig0ppc64le | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | SLE-16 | libeditorconfig0s390x | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | SLE-16 | libeditorconfig0x86_64 | Advisory build | 0.12.9-160000.3.1 | SUSE-SU-2026:22125-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | editorconfigaarch64 | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | editorconfigppc64le | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | editorconfigs390x | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | editorconfigx86_64 | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig-develaarch64 | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig-develppc64le | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig-devels390x | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig-develx86_64 | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig0aarch64 | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig0ppc64le | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig0s390x | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | libeditorconfig0x86_64 | Advisory build | 0.12.9-160000.3.1 | OPENSUSE-SU-2026:20966-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigaarch64 | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigppc64le | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigs390x | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | editorconfigx86_64 | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-develaarch64 | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-develppc64le | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-devels390x | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig-develx86_64 | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0aarch64 | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0ppc64le | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0s390x | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libeditorconfig0x86_64 | Advisory build | 0.12.11-1.1 | OPENSUSE-SU-2026:10663-1 |
| Ubuntu | bionic | editorconfig-core | Advisory build | 0.12.1-1.1ubuntu0.18.04.1~esm3 | USN-8238-2 |
| Ubuntu | bionic | libeditorconfig0 | Advisory build | 0.12.1-1.1ubuntu0.18.04.1~esm3 | USN-8238-2 |
| Ubuntu | focal | editorconfig | Advisory build | 0.12.1-1.1+deb11u1ubuntu0.1~esm1 | USN-8238-2 |
| Ubuntu | focal | editorconfig-core | Advisory build | 0.12.1-1.1+deb11u1ubuntu0.1~esm1 | USN-8238-2 |
| Ubuntu | focal | libeditorconfig0 | Advisory build | 0.12.1-1.1+deb11u1ubuntu0.1~esm1 | USN-8238-2 |
| Ubuntu | jammy | editorconfig | Advisory build | 0.12.5-2ubuntu0.1~esm3 | USN-8238-2 |
| Ubuntu | jammy | editorconfig-core | Advisory build | 0.12.5-2ubuntu0.1~esm3 | USN-8238-2 |
| Ubuntu | jammy | libeditorconfig0 | Advisory build | 0.12.5-2ubuntu0.1~esm3 | USN-8238-2 |
| Ubuntu | noble | editorconfig | Advisory build | 0.12.7-0.1ubuntu0.1 | USN-8238-1 |
| Ubuntu | noble | editorconfig-core | Advisory build | 0.12.7-0.1ubuntu0.1 | USN-8238-1 |
| Ubuntu | noble | libeditorconfig0 | Advisory build | 0.12.7-0.1ubuntu0.1 | USN-8238-1 |
| Ubuntu | questing | editorconfig | Advisory build | 0.12.9+~0.17.1-1ubuntu2.1 | USN-8238-1 |
| Ubuntu | questing | editorconfig-core | Advisory build | 0.12.9+~0.17.1-1ubuntu2.1 | USN-8238-1 |
| Ubuntu | questing | libeditorconfig0 | Advisory build | 0.12.9+~0.17.1-1ubuntu2.1 | USN-8238-1 |
| Ubuntu | resolute | editorconfig | Advisory build | 0.12.10+~0.17.1-3ubuntu0.1 | USN-8238-1 |
| Ubuntu | resolute | editorconfig-core | Advisory build | 0.12.10+~0.17.1-3ubuntu0.1 | USN-8238-1 |
| Ubuntu | resolute | libeditorconfig0 | Advisory build | 0.12.10+~0.17.1-3ubuntu0.1 | USN-8238-1 |
| Ubuntu | xenial | editorconfig | Advisory build | 0.12.0-2ubuntu0.1~esm3 | USN-8238-2 |
| Ubuntu | xenial | editorconfig-core | Advisory build | 0.12.0-2ubuntu0.1~esm3 | USN-8238-2 |
| Ubuntu | xenial | libeditorconfig0 | Advisory build | 0.12.0-2ubuntu0.1~esm3 | USN-8238-2 |
| Amazon Linux | AL2023 | editorconfigsrc | Listed in advisory | Not stated | ALAS2023-2026-1642 |
| Amazon Linux | AL2023 | editorconfigx86_64 | Listed in advisory | Not stated | ALAS2023-2026-1642 |
Description
editorconfig-core-c is an EditorConfig core library for use by plugins supporting EditorConfig parsing. Versions up to and including 0.12.10 have a stack-based buffer overflow in ec_glob() that allows an attacker to crash any application using libeditorconfig by providing a specially crafted directory structure and .editorconfig file. This is an incomplete fix for CVE-2023-0341. The pcre_str buffer was protected in 0.12.6 but the adjacent l_pattern[8194] stack buffer received no equivalent protection. On Ubuntu 24.04, FORTIFY_SOURCE converts the overflow to SIGABRT (DoS). Version 0.12.11 contains an updated fix.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| editorconfig | editorconfig-core-c | < 0.12.11 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-121 CWE-121: Stack-based Buffer Overflow
- CWE-787 CWE-787: Out-of-bounds Write
References
3Provider assertions
2GitHub_M · cna
editorconfig-core-c has incomplete fix for CVE-2023-0341
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ea948353b48fe89008a00483ac58f55ba8ab022e0b69e6111b6c92169dfe6e10
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record