VDB

CVE-2020-37040

CVE-2020-37040 PUBLISHED CVSS 8.4 HIGH

Code Blocks 17.12 - 'File Name' Local Buffer Overflow

Reported by vulncheck · Published January 30, 2026

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.

Risk scores

CVSS 4.0
8.4
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

Affected products

VendorProductVersions
Code::BlocksCode::Blocks17.12
codeblockscode\\
Code::BlocksCode::Blocks17.12

Timeline

  • Jan 30, 2026 CVE Published
  • Jan 31, 2026 EPSS Score (30 in total, the first dated here)
  • Feb 4, 2026 CVE Updated
  • Mar 30, 2026 Security Advisory
  • Aug 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-37040
vulnetix vdb fixes CVE-2020-37040

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-37040/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›