EditorConfig vulnerability
Published: Tue, 02 Jun 2026 14:05
Summary
EditorConfig could be made to crash if it opened a specially crafted file.
Details
USN-8238-1 fixed a vulnerability in EditorConfig. This update contains the corresponding fix for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. Original advisory details: It was discovered that EditorConfig incorrectly handled specially crafted configuration files. A local attacker could possibly use this issue to cause EditorConfig to crash, resulting in a denial of service.
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu bionic
editorconfig-core→0.12.1-1.1ubuntu0.18.04.1~esm3apt_upgrade_esmFixed at 0.12.1-1.1ubuntu0.18.04.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-core=0.12.1-1.1ubuntu0.18.04.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig→0.12.1-1.1ubuntu0.18.04.1~esm3apt_upgrade_esmFixed at 0.12.1-1.1ubuntu0.18.04.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig=0.12.1-1.1ubuntu0.18.04.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig-doc→0.12.1-1.1ubuntu0.18.04.1~esm3apt_upgrade_esmFixed at 0.12.1-1.1ubuntu0.18.04.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-doc=0.12.1-1.1ubuntu0.18.04.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig-dev→0.12.1-1.1ubuntu0.18.04.1~esm3apt_upgrade_esmFixed at 0.12.1-1.1ubuntu0.18.04.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig-dev=0.12.1-1.1ubuntu0.18.04.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig0→0.12.1-1.1ubuntu0.18.04.1~esm3apt_upgrade_esmFixed at 0.12.1-1.1ubuntu0.18.04.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig0=0.12.1-1.1ubuntu0.18.04.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu focal
editorconfig-core→0.12.1-1.1+deb11u1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.12.1-1.1+deb11u1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-core=0.12.1-1.1+deb11u1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig→0.12.1-1.1+deb11u1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.12.1-1.1+deb11u1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig=0.12.1-1.1+deb11u1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig-doc→0.12.1-1.1+deb11u1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.12.1-1.1+deb11u1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-doc=0.12.1-1.1+deb11u1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig-dev→0.12.1-1.1+deb11u1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.12.1-1.1+deb11u1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig-dev=0.12.1-1.1+deb11u1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig0→0.12.1-1.1+deb11u1ubuntu0.1~esm1apt_upgrade_esmFixed at 0.12.1-1.1+deb11u1ubuntu0.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig0=0.12.1-1.1+deb11u1ubuntu0.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu jammy
editorconfig-core→0.12.5-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.5-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-core=0.12.5-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig→0.12.5-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.5-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig=0.12.5-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig-doc→0.12.5-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.5-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-doc=0.12.5-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig-dev→0.12.5-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.5-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig-dev=0.12.5-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig0→0.12.5-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.5-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig0=0.12.5-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu xenial
editorconfig-core→0.12.0-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.0-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-core=0.12.0-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig→0.12.0-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.0-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig=0.12.0-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
editorconfig-doc→0.12.0-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.0-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y editorconfig-doc=0.12.0-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig-dev→0.12.0-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.0-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig-dev=0.12.0-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
libeditorconfig0→0.12.0-2ubuntu0.1~esm3apt_upgrade_esmFixed at 0.12.0-2ubuntu0.1~esm3 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y libeditorconfig0=0.12.0-2ubuntu0.1~esm3
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Are YOU affected by USN-8238-2?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8238-2 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.