Buffer overflow in Code::blocks
CVE-2020-37040
Code Blocks 17.12 contains a local buffer overflow vulnerability that allows attackers to execute arbitrary code by crafting a malicious file name with Unicode characters. Attackers can trigger the vulnerability by pasting a specially crafted payload into the file name field during project creation, potentially executing system commands like calc.exe.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 11.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Code::blocks — versions 17.12
Weakness classification (CWE)
References
- ExploitDB-48594 (exploit)
- Code Blocks Official Website (product)
- Code Blocks SourceForge Page (product)
- VulnCheck Advisory: Code Blocks 17.12 - 'File Name' Local Buffer Overflow (third-party-advisory)