{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-40489","published":"2026-04-18T02:16:11.827000Z","last_modified":"2026-10-26T22:10:00.163000Z","status":"Deferred","cvss":{"version":"4.0","score":8.6,"severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-121","CWE-787"],"cpes":[],"cpes_truncated":false,"vendors":["editorconfig"],"products":["editorconfig/editorconfig-core-c"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-40489/","html_en":"/en/cve/CVE-2026-40489/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-40489","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-40489"},"untrusted":{"vendor_name":"editorconfig","product_name":"editorconfig-core-c","desc_en":"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.","affected":[{"untrusted_vendor":"editorconfig","untrusted_product":"editorconfig-core-c","versions":[]}],"references":[{"url":"https://github.com/editorconfig/editorconfig-core-c/commit/5159be88ad50641d9843289adda791ba300421ff","tags":[]},{"url":"https://github.com/editorconfig/editorconfig-core-c/releases/tag/v0.12.11","tags":[]},{"url":"https://github.com/editorconfig/editorconfig-core-c/security/advisories/GHSA-97xg-vrcq-254h","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:2731-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262731-1/","published":"2026-07-02T17:36:31+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for editorconfig-core-c"}},{"source":"suse","id":"openSUSE-SU-2026:20966-1","url":"https://www.suse.com/support/update/","published":"2026-06-15T09:20:07+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for editorconfig-core-c"}},{"source":"suse","id":"SUSE-SU-2026:22125-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202622125-1/","published":"2026-06-15T09:19:57+00:00","severity":"high","exploited":false,"untrusted":{"title":"Security update for editorconfig-core-c"}}]}