Alerts This Week
Warning Icon 1 991
Alerts This Week
Warning Icon 1 991

Ubuntu 22.04 EditorConfig Critical Denial of Service Fix USN-8238-2

ubuntu
Calendar Grey June 2, 2026
Dist Ubuntu Esm H88
Update EditorConfig in Ubuntu to prevent crashes caused by malicious files. Critical fix available for multiple versions.
EditorConfig could be made to crash if it opened a specially crafted file.

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

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-8238-2

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here