StackPatch is liveSee product

Back to CVE digest
CVE-2026-40489 · cross-distro fix matrix

CVE-2026-40489: USN-8238-1 fixed a vulnerability in EditorConfig. This update contains the

Affects 8 Linux releases across 36 (distro × package) combinations. First disclosed: 2026-05-06.

Fix per ecosystem

Each block below is a distro release where CVE-2026-40489 has a known fix. Run the listed command on that distro to remediate.

Ubuntu bionic

Source: Ubuntu USN

  • editorconfig-core→ fixed in0.12.1-1.1ubuntu0.18.04.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-core
  • editorconfig→ fixed in0.12.1-1.1ubuntu0.18.04.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig
  • editorconfig-doc→ fixed in0.12.1-1.1ubuntu0.18.04.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-doc
  • libeditorconfig-dev→ fixed in0.12.1-1.1ubuntu0.18.04.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig-dev
  • libeditorconfig0→ fixed in0.12.1-1.1ubuntu0.18.04.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig0

Ubuntu focal

Source: Ubuntu USN

  • editorconfig-core→ fixed in0.12.1-1.1+deb11u1ubuntu0.1~esm1USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-core
  • editorconfig→ fixed in0.12.1-1.1+deb11u1ubuntu0.1~esm1USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig
  • editorconfig-doc→ fixed in0.12.1-1.1+deb11u1ubuntu0.1~esm1USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-doc
  • libeditorconfig-dev→ fixed in0.12.1-1.1+deb11u1ubuntu0.1~esm1USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig-dev
  • libeditorconfig0→ fixed in0.12.1-1.1+deb11u1ubuntu0.1~esm1USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig0

Ubuntu jammy

Source: Ubuntu USN

  • editorconfig-core→ fixed in0.12.5-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-core
  • editorconfig→ fixed in0.12.5-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig
  • editorconfig-doc→ fixed in0.12.5-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-doc
  • libeditorconfig-dev→ fixed in0.12.5-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig-dev
  • libeditorconfig0→ fixed in0.12.5-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig0

Ubuntu xenial

Source: Ubuntu USN

  • editorconfig-core→ fixed in0.12.0-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-core
  • editorconfig→ fixed in0.12.0-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig
  • editorconfig-doc→ fixed in0.12.0-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y editorconfig-doc
  • libeditorconfig-dev→ fixed in0.12.0-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig-dev
  • libeditorconfig0→ fixed in0.12.0-2ubuntu0.1~esm3USN-8238-2
    sudo apt-get install --only-upgrade -y libeditorconfig0

Ubuntu noble

Source: Ubuntu USN

  • editorconfig-core→ fixed in0.12.7-0.1ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig-core
  • editorconfig→ fixed in0.12.7-0.1ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig
  • editorconfig-doc→ fixed in0.12.7-0.1ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig-doc
  • libeditorconfig-dev→ fixed in0.12.7-0.1ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y libeditorconfig-dev
  • libeditorconfig0→ fixed in0.12.7-0.1ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y libeditorconfig0

Ubuntu questing

Source: Ubuntu USN

  • editorconfig-core→ fixed in0.12.9+~0.17.1-1ubuntu2.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig-core
  • editorconfig→ fixed in0.12.9+~0.17.1-1ubuntu2.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig
  • editorconfig-doc→ fixed in0.12.9+~0.17.1-1ubuntu2.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig-doc
  • libeditorconfig-dev→ fixed in0.12.9+~0.17.1-1ubuntu2.1USN-8238-1
    sudo apt-get install --only-upgrade -y libeditorconfig-dev
  • libeditorconfig0→ fixed in0.12.9+~0.17.1-1ubuntu2.1USN-8238-1
    sudo apt-get install --only-upgrade -y libeditorconfig0

Ubuntu resolute

Source: Ubuntu USN

  • editorconfig-core→ fixed in0.12.10+~0.17.1-3ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig-core
  • editorconfig→ fixed in0.12.10+~0.17.1-3ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig
  • editorconfig-doc→ fixed in0.12.10+~0.17.1-3ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y editorconfig-doc
  • libeditorconfig-dev→ fixed in0.12.10+~0.17.1-3ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y libeditorconfig-dev
  • libeditorconfig0→ fixed in0.12.10+~0.17.1-3ubuntu0.1USN-8238-1
    sudo apt-get install --only-upgrade -y libeditorconfig0

Alpine edge

Source: Alpine secdb

  • editorconfig→ fixed in0.12.11-r0
    apk update && apk add --upgrade editorconfig
Are YOU affected by CVE-2026-40489?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2026-40489dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. From $9/mo, 14-day free trial, cancel anytime.

See StackPatch (from $9/mo)