CVE-2020-37040

Code Blocks 17.12 - 'File Name' Local Buffer Overflow

Published Jan 30, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Codeblocks code\\
CPEs cpe:2.3:a:codeblocks:code\\:17.12:*:*:*:*:*:*:*
Vendors & Products Codeblocks code\\
Type Values Removed Values Added
First Time appeared Codeblocks
Codeblocks code::blocks
Vendors & Products Codeblocks
Codeblocks code::blocks
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Code Blocks 17.12 - 'File Name' Local Buffer Overflow
Weaknesses CWE-120
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, 'vector': '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'}

Weaknesses
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:47 AM
Reserved
Jan 28, 2026, 6:18 PM
Status
Deferred
Published
Jan 30, 2026, 11:16 PM
Modified
Jun 17, 2026, 3:16 AM