CVE-2020-37040 Details
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.
A local buffer overflow vulnerability has been identified in Code::Blocks version 17.12. This vulnerability allows attackers to execute arbitrary code by crafting a malicious file name that includes Unicode characters. The issue can be triggered during project creation by pasting a specially crafted payload into the file name field. Exploitation of this vulnerability could lead to the execution of system commands, such as launching calc.exe.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 30, 2026CISA-ADP
Assessed Feb 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://sourceforge.net/projects/codeblocks | [email protected] | ProductVendor |
| https://www.exploit-db.com/exploits/48594 | [email protected] | Exploit |
| https://www.vulncheck.com/advisories/code-blocks-file-name-local-buffer-overflow | [email protected] | AdvisoryBundleExploit |
| http://www.codeblocks.org/ | [email protected] | ProductVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Code::Blocks | 17.12 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 30, 2026 | New CVE Received | [email protected] |
Volerion