CVE-2020-37040: Vulnerability in Code::Blocks
Patch soon. 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.
CWE-120
- Exploitation
- None confirmed
- Severity
- 8.4 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Weakness
- CWE-120
- Published
- 30 Jan 2026
- Last change
- 28 Jul 2026
Affected products
Affected versions and the first fixed release
- Code::Blocks Version 17.12. No fixed version recorded
Advisories
Vendor and security advisories
- codeblocks.org
- sourceforge.net/projects/codeblocks
- vulncheck.com/advisories/code-blocks-file-name-local-buffer-overflow
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Code::Blocks vulnerabilities Recent advisories, watch this product