Vulnerability in editorconfig-core
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-40489 has been found in editorconfig-core.
Risk of unauthorized operations or information disclosure.
What to do: upgrade editorconfig-core to 0.12.0-2ubuntu0.1~esm3 or later.
If unsure, ask your IT team or search "editorconfig-core UBUNTU-CVE-2026-40489" on the vendor's site.
UBUNTU-CVE-2026-40489 (editorconfig-core)
Patched: 0.12.0-2ubuntu0.1~esm3 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in editorconfig-core.
Check the vendor advisory for the affected versions of editorconfig-core.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 0.12.0-2ubuntu0.1~esm3.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'editorconfig-core' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'editorconfig-core' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
editorconfig-coreを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade editorconfig-core to 0.12.0-2ubuntu0.1~esm3ステージング環境で 0.12.0-2ubuntu0.1~esm3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSeditorconfig-core |
< 0.12.0-2ubuntu0.1~esm3→ 0.12.0-2ubuntu0.1~esm3 |
0.12.0-2ubuntu0.1~esm3 |
| Ubuntu:Pro:18.04:LTSeditorconfig-core |
< 0.12.1-1.1ubuntu0.18.04.1~esm3→ 0.12.1-1.1ubuntu0.18.04.1~esm3 |
0.12.1-1.1ubuntu0.18.04.1~esm3 |
| Ubuntu:Pro:20.04:LTSeditorconfig-core |
< 0.12.1-1.1+deb11u1ubuntu0.1~esm1→ 0.12.1-1.1+deb11u1ubuntu0.1~esm1 |
0.12.1-1.1+deb11u1ubuntu0.1~esm1 |
| Ubuntu:Pro:22.04:LTSeditorconfig-core |
< 0.12.5-2ubuntu0.1~esm3→ 0.12.5-2ubuntu0.1~esm3 |
0.12.5-2ubuntu0.1~esm3 |
| Ubuntu:24.04:LTSeditorconfig-core |
< 0.12.7-0.1ubuntu0.1→ 0.12.7-0.1ubuntu0.1 |
0.12.7-0.1ubuntu0.1 |
| Ubuntu:25.10editorconfig-core |
< 0.12.9+~0.17.1-1ubuntu2.1→ 0.12.9+~0.17.1-1ubuntu2.1 |
0.12.9+~0.17.1-1ubuntu2.1 |
| Ubuntu:26.04editorconfig-core |
< 0.12.10+~0.17.1-3ubuntu0.1→ 0.12.10+~0.17.1-3ubuntu0.1 |
0.12.10+~0.17.1-3ubuntu0.1 |
| Ubuntu:26.04:LTSeditorconfig-core |
< 0.12.10+~0.17.1-3ubuntu0.1→ 0.12.10+~0.17.1-3ubuntu0.1 |
0.12.10+~0.17.1-3ubuntu0.1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report github.com