Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-40489

⚪ Unknown ✅ No Known Exploit CWE-121 NVD
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

Weakness class

CVE-2026-40489 is classified as CWE-121: Stack-based Buffer Overflow. An oversized write to a stack buffer overwrites saved state such as return addresses, which can redirect execution.

Affected software

CVE-2026-40489 is recorded against 1 package.

  • unknown

Timeline and source

Published on 18 April 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com
github.com
github.com

Other advisories for this package

unknown has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-121: Stack-based Buffer Overflow) in other software:

CVE-2026-40489 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-121
Public Exploit ✅ No
Source NVD
Published 2026-04-18
Updated 2026-08-20
Modified 2026-06-17
Fix URL N/A

Affected Packages

Software From version Fixed in
unknown — —

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2026-40489?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2026-40489 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026
✓