SB2026042772 - Stack-based buffer overflow in editorconfig-core-c
Published: April 27, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Stack-based buffer overflow (CVE-ID: CVE-2026-40489)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to stack-based buffer overflow in ec_glob() when processing a crafted directory structure and .editorconfig file. A remote attacker can trick the victim into opening a file in an attacker-controlled directory to cause a denial of service.
User interaction is required to open the file.
Remediation
Install update from vendor's website.