CVE-2026-40489

Severity: Medium
Published: 2026-04-18

Fix Status by Distribution

Fixed in 6 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-24 19:47 UTC

Get alerted when your releases are fixed
Fixed in:
  • SUSE Linux Enterprise Server 15 SP7

  • SUSE Linux Enterprise Server 16

  • Ubuntu 22.04 LTS (Jammy Jellyfish)

  • Ubuntu 24.04 LTS (Noble Numbat)

  • Ubuntu 25.10 (Questing Quokka)

  • Ubuntu 26.04 LTS (Resolute Raccoon)

No fix evidence found:
AlmaLinux 10
AlmaLinux 8
AlmaLinux 9
Debian 11 (Bullseye)
Debian 12 (Bookworm)
Debian 13 (Trixie)
Oracle Linux 10
Oracle Linux 8
Oracle Linux 9
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9
Rocky Linux 10
Rocky Linux 8
Rocky Linux 9
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

editorconfig-core-c is an EditorConfig core library for use by plugins supporting EditorConfig parsing. Versions up to and including 0.12.10 have a stack-based buffer overflow in ec_glob() that allows an attacker to crash any application using libeditorconfig by providing a specially crafted directory structure and .editorconfig file. This is an incomplete fix for CVE-2023-0341. The pcre_str buffer was protected in 0.12.6 but the adjacent l_pattern[8194] stack buffer received no equivalent protection. On Ubuntu 24.04, FORTIFY_SOURCE converts the overflow to SIGABRT (DoS). Version 0.12.11 contains an updated fix.

Exploit evidence

Public proof of concept reported

Last checked: 2026-11-27 02:51 UTC

  • Proof of concept · CISA Coordinator (Assessed 2026-04-20 16:10 UTC)

NVD evidence for CVE-2026-40489 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.