USN-8238-2

Source
https://ubuntu.com/security/notices/USN-8238-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8238-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-8238-2
Upstream
Related
Published
2026-06-02T14:05:45Z
Modified
2026-06-02T20:18:00.679625376Z
Summary
editorconfig-core vulnerability
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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.0-2ubuntu0.1~esm3

Affected versions

0.*
0.12.0-2
0.12.0-2ubuntu0.1~esm1
0.12.0-2ubuntu0.1~esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm3",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.0-2ubuntu0.1~esm3",
            "binary_name": "libeditorconfig0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8238-2.json"
cves_map
{
    "ecosystem": "Ubuntu:Pro:16.04:LTS",
    "cves": [
        {
            "id": "CVE-2026-40489",
            "severity": [
                {
                    "type": "CVSS_V4",
                    "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}

Ubuntu:Pro:18.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.1-1.1ubuntu0.18.04.1~esm3

Affected versions

0.*
0.12.1-1
0.12.1-1.1
0.12.1-1.1ubuntu0.18.04.1~esm1
0.12.1-1.1ubuntu0.18.04.1~esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.12.1-1.1ubuntu0.18.04.1~esm3",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.1-1.1ubuntu0.18.04.1~esm3",
            "binary_name": "libeditorconfig0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8238-2.json"
cves_map
{
    "ecosystem": "Ubuntu:Pro:18.04:LTS",
    "cves": [
        {
            "id": "CVE-2026-40489",
            "severity": [
                {
                    "type": "CVSS_V4",
                    "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}

Ubuntu:Pro:20.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.1-1.1+deb11u1ubuntu0.1~esm1

Affected versions

0.*
0.12.1-1.1
0.12.1-1.1ubuntu0.20.04.1~esm1
0.12.1-1.1+deb11u1build0.20.04.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.12.1-1.1+deb11u1ubuntu0.1~esm1",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.1-1.1+deb11u1ubuntu0.1~esm1",
            "binary_name": "libeditorconfig0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8238-2.json"
cves_map
{
    "ecosystem": "Ubuntu:Pro:20.04:LTS",
    "cves": [
        {
            "id": "CVE-2026-40489",
            "severity": [
                {
                    "type": "CVSS_V4",
                    "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}

Ubuntu:Pro:22.04:LTS / editorconfig-core

Package

Name
editorconfig-core
Purl
pkg:deb/ubuntu/editorconfig-core?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.5-2ubuntu0.1~esm3

Affected versions

0.*
0.12.1-1.1
0.12.1-2
0.12.5-2
0.12.5-2ubuntu0.1~esm1
0.12.5-2ubuntu0.1~esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm3",
            "binary_name": "editorconfig"
        },
        {
            "binary_version": "0.12.5-2ubuntu0.1~esm3",
            "binary_name": "libeditorconfig0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8238-2.json"
cves_map
{
    "ecosystem": "Ubuntu:Pro:22.04:LTS",
    "cves": [
        {
            "id": "CVE-2026-40489",
            "severity": [
                {
                    "type": "CVSS_V4",
                    "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}