
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2020-37040 is a local buffer overflow vulnerability in Code::Blocks 17.12, a popular open-source C/C++ IDE, that allows attackers to execute arbitrary code by crafting a malicious file name containing Unicode characters. The vulnerability is triggered when a specially crafted payload is pasted into the file name field during project creation. It was published on January 30, 2026, and assigned a CVSS v3.1 base score of 8.4 (High) (Feedly, VulnCheck Advisory).
The root cause is classified as CWE-120 (Buffer Copy without Checking Size of Input — 'Classic Buffer Overflow'). The application fails to validate or bound-check the length of Unicode character sequences entered into the file name field during project creation, allowing an attacker to overflow a local buffer and overwrite adjacent memory. Exploitation requires local access to the system and user interaction in the form of pasting a crafted payload into the project creation dialog. A proof-of-concept exploit demonstrating execution of commands such as calc.exe is publicly available on Exploit-DB (Exploit-DB, VulnCheck Advisory).
Successful exploitation grants an attacker arbitrary code execution in the context of the local user running Code::Blocks, resulting in high confidentiality, integrity, and availability impact. An attacker could read sensitive files, modify system data, or disrupt application availability. While the attack vector is local and scoped to the affected system, it could serve as a stepping stone for privilege escalation or lateral movement if the compromised user account has elevated permissions (Feedly, VulnCheck Advisory).
A public proof-of-concept exploit (Exploit-DB ID 48594) exists for this vulnerability, demonstrating arbitrary command execution via the malicious file name vector. The EPSS score is approximately 0.013% (0.000130), indicating a low probability of widespread exploitation in the near term. No evidence of active in-the-wild exploitation or threat actor attribution has been reported, and the vulnerability does not appear in the CISA Known Exploited Vulnerabilities (KEV) catalog (Exploit-DB, Feedly).
calc.exe or a reverse shell payload) (Exploit-DB, VulnCheck Advisory).calc.exe, cmd.exe, powershell.exe, or network utilities) immediately following project creation activity.codeblocks.exe faulting module around the time of project creation.codeblocks.exe to external IP addresses, which would be anomalous for a local IDE application.No official patch from the Code::Blocks project has been identified for version 17.12. As interim mitigations, administrators should restrict local access to systems running Code::Blocks 17.12 to trusted personnel only, and implement input validation policies that reject Unicode or special characters in project file name fields where possible. Users should avoid opening or creating projects using file names from untrusted sources. Monitoring for anomalous child processes spawned by codeblocks.exe is recommended as a detection control (VulnCheck Advisory, Feedly).
The vulnerability received limited industry attention, with coverage primarily from automated vulnerability tracking platforms such as VulnDB, Vulners, and Tenable (Nessus plugin 297438). CISA included it in a weekly vulnerability bulletin (SB26-033) for the week of January 26, 2026. No notable researcher commentary or significant social media discussion has been identified (CISA Bulletin, Tenable).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."