CVEfocus › CVE database › CVE-2020-37040

CVE-2020-37040Code Blocks 17.12 - 'File Name' Local Buffer Overflow

CVSS 8.4 HighEPSS 0.7% (higher than 49% of CVEs)Published 2026-01-30Updated 2026-07-28Assigner: VulnCheck

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

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10codeblocksFix pendingUBUNTU-CVE-2020-37040
Ubuntu 26.04codeblocksUnder investigationUBUNTU-CVE-2020-37040
Ubuntu 25.10codeblocksWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2020-37040
Ubuntu 24.04codeblocksUnder investigationUBUNTU-CVE-2020-37040
Ubuntu 22.04codeblocksUnder investigationUBUNTU-CVE-2020-37040
Ubuntu 20.04codeblocksFix pendingUBUNTU-CVE-2020-37040
Ubuntu 18.04codeblocksFix pendingUBUNTU-CVE-2020-37040
Ubuntu 16.04codeblocksFix pendingUBUNTU-CVE-2020-37040

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.