What’s Vulnerable › Vulnerabilities
CVE-2020-37040: Code Blocks 17.12 - 'File Name' Local Buffer Overflow
- Severity: high (CVSS 8.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-30 · updated 2026-06-17
- Weakness: CWE-120
Description
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.
Affected products
- Code::Blocks: 17.12
References
- http://www.codeblocks.org/
- https://sourceforge.net/projects/codeblocks
- https://www.exploit-db.com/exploits/48594
- https://www.vulncheck.com/advisories/code-blocks-file-name-local-buffer-overflow
Get alerted when CVE-2020-37040 or the next vulnerability affects your stack