Home / mailingsPDF  

[USN-8238-2] EditorConfig vulnerability

Posted on 02 June 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-8238-2
June 02, 2026

editorconfig-core vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

EditorConfig could be made to crash if it opened a specially crafted file.

Software Description:
- editorconfig-core: coding style indenter across editors

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.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS
editorconfig 0.12.5-2ubuntu0.1~esm3
Available with Ubuntu Pro
editorconfig-doc 0.12.5-2ubuntu0.1~esm3
Available with Ubuntu Pro
libeditorconfig-dev 0.12.5-2ubuntu0.1~esm3
Available with Ubuntu Pro
libeditorconfig0 0.12.5-2ubuntu0.1~esm3
Available with Ubuntu Pro

Ubuntu 20.04 LTS
editorconfig 0.12.1-1.1+deb11u1ubuntu0.1~esm1
Available with Ubuntu Pro
editorconfig-doc 0.12.1-1.1+deb11u1ubuntu0.1~esm1
Available with Ubuntu Pro
libeditorconfig-dev 0.12.1-1.1+deb11u1ubuntu0.1~esm1
Available with Ubuntu Pro
libeditorconfig0 0.12.1-1.1+deb11u1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 18.04 LTS
editorconfig 0.12.1-1.1ubuntu0.18.04.1~esm3
Available with Ubuntu Pro
editorconfig-doc 0.12.1-1.1ubuntu0.18.04.1~esm3
Available with Ubuntu Pro
libeditorconfig-dev 0.12.1-1.1ubuntu0.18.04.1~esm3
Available with Ubuntu Pro
libeditorconfig0 0.12.1-1.1ubuntu0.18.04.1~esm3
Available with Ubuntu Pro

Ubuntu 16.04 LTS
editorconfig 0.12.0-2ubuntu0.1~esm3
Available with Ubuntu Pro
editorconfig-doc 0.12.0-2ubuntu0.1~esm3
Available with Ubuntu Pro
libeditorconfig-dev 0.12.0-2ubuntu0.1~esm3
Available with Ubuntu Pro
libeditorconfig0 0.12.0-2ubuntu0.1~esm3
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-8238-2
https://ubuntu.com/security/notices/USN-8238-1
CVE-2026-40489

--===============3577948484991157303==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP