SB2026042772 - Stack-based buffer overflow in editorconfig-core-c



SB2026042772 - Stack-based buffer overflow in editorconfig-core-c

Published: April 27, 2026

Security Bulletin ID SB2026042772
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • 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.