CVE-2020-37040
Code Blocks 17.12 - 'File Name' Local Buffer Overflow
- State
- Published
- Severity
- 8.4 High
- Published
- Jan 30, 2026
- Updated
- Jul 28, 2026
- Reserved
- Jan 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.4 High | 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 | VulnCheck |
| 3.1 | 8.4 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Affected Products
| Product | Versions |
|---|---|
Code::BlocksCode::Blocks |
|
References
- ExploitDB-48594exploit
- Code Blocks Official Websiteproduct
- Code Blocks SourceForge Pageproduct
- VulnCheck Advisory: Code Blocks 17.12 - 'File Name' Local Buffer Overflowthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.