Skip to content
pkgseek
Back to CVE search

CVE-2026-40489

high

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 cont…

First indexed 4/18/2026View on NVD

Advisory Facts

Markdown

CVE-2026-40489 is rated HIGH, with 16 indexed affected package builds across 3 distributions.

Severity / Score
HIGH
Affected builds
16
Affected distros
3
Distros with fixed_in
Fedora
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2026-40489?locale=en

Distribution-aware status

3
Distributions
16
Package/release records
5
Vendor advisories
9
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

16 affected package/release combinations
editorconfig
42x86_64
0.12.9-3.fc42Fixed in 0.12.11-1.fc42
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig
editorconfig-devel
42i686, x86_64
0.12.9-3.fc42Fixed in 0.12.11-1.fc42
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig-devel
editorconfig-libs
42i686, x86_64
0.12.9-3.fc42Fixed in 0.12.11-1.fc42
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig-libs
editorconfig
43x86_64
0.12.9-4.fc43Fixed in 0.12.11-1.fc43
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig
editorconfig-devel
43i686, x86_64
0.12.9-4.fc43Fixed in 0.12.11-1.fc43
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig-devel
editorconfig-libs
43i686, x86_64
0.12.9-4.fc43Fixed in 0.12.11-1.fc43
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig-libs
editorconfig
44x86_64
0.12.10-1.fc44Fixed in 0.12.11-1.fc44
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig
editorconfig-devel
44i686, x86_64
0.12.10-1.fc44Fixed in 0.12.11-1.fc44
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig-devel
editorconfig-libs
44i686, x86_64
0.12.10-1.fc44Fixed in 0.12.11-1.fc44
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade editorconfig-libs

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.