title: Stack Buffer Overflow in editorconfig-core-c
description: A stack buffer overflow exists in the ec_glob function of editorconfig-core-c before v0.12.6 which allowed an attacker to arbitrarily write to the stack and possibly allows remote code execution. editorconfig-core-c v0.12.6 resolved this vulnerability by bound checking all write operations over the p_pcre buffer.
problem types: CWE-121
affected:
{
collectionURL: https://github.com/editorconfig/editorconfig-core-c/releases
modules: configuration file parsing
packageName: editorconfig-core-c
platforms: [Linux, MacOS, Windows]
product: EditorConfig C Core
repo: https://github.com/editorconfig/editorconfig-core-c/
vendor: EditorConfig
versions:
lessThan: v0.12.6, status: affected, version: 0, versionType: commit
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: HIGH
baseScore: 7.8
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
version: 3.1
]
format: CVSS