Skip to content

CVE-2023-0341 Stack Buffer Overflow in editorconfig-core-c

HighCVSS 7.8 EPSS 1.00%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/editorconfig-core(Debian:12) < 0.12.6-0.1 0.12.6-0.1
debian/editorconfig-core(Debian:13) < 0.12.6-0.1 0.12.6-0.1
debian/editorconfig-core(Debian:14) < 0.12.6-0.1 0.12.6-0.1
EditorConfig C Core < v0.12.6 v0.12.6
ubuntu/editorconfig-core(Ubuntu:22.04) < 0.12.5-2ubuntu0.1~esm1 0.12.5-2ubuntu0.1~esm1
editorconfig < 0.12.6 0.12.6

References