CVE-2020-37040

published 30 Jan 2026 · updated 28 Jul 2026

Code Blocks 17.12 - 'File Name' Local Buffer Overflow

9.4CriticalCVSS 8.4EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Code::Blocks=17.12

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-37040 severity on Zeptric[![CVE-2020-37040](https://zeptric.io/badge/cve/CVE-2020-37040.svg)](https://zeptric.io/cve/CVE-2020-37040)