Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-40489 →
Unrated

Vulnerability in editorconfig-core

UBUNTU-CVE-2026-40489 First seen on SecPulse

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.

What is the problem

A vulnerability (unclassified) exists in editorconfig-core.

Affected scope

Check the vendor advisory for the affected versions of editorconfig-core.

Severity

Severity: ?. Risk of unauthorized operations or information disclosure.

How to fix

Update to 0.12.0-2ubuntu0.1~esm3.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

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. 1
    Identify exposureidentify
    grep -r 'editorconfig-core' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で editorconfig-core を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade editorconfig-core to 0.12.0-2ubuntu0.1~esm3

    ステージング環境で 0.12.0-2ubuntu0.1~esm3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:16.04:LTSeditorconfig-core
< 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
Ubuntu:Pro:20.04:LTSeditorconfig-core
< 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
Ubuntu:24.04:LTSeditorconfig-core
< 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
Ubuntu:26.04editorconfig-core
< 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
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

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details