CVE-2020-37040
Unknown Unknown - Not Provided

Buffer Overflow in Code Blocks 17.12 Enables Arbitrary Code Execution

Vulnerability report for CVE-2020-37040, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-01-30

Last updated on: 2026-01-30

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-01-30
Last Modified
2026-01-30
Generated
2026-07-06
AI Q&A
2026-01-31
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
unknown_vendor code_blocks 17.12

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-120 The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a local buffer overflow in Code Blocks 17.12 that occurs when an attacker crafts a malicious file name containing Unicode characters. By pasting this specially crafted payload into the file name field during project creation, the attacker can trigger the overflow and execute arbitrary code on the system.

Impact Analysis

The vulnerability can allow an attacker to execute arbitrary system commands, such as launching programs like calc.exe, which means they could potentially run any code on the affected system. This could lead to unauthorized control over the system, data compromise, or further exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2020-37040. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart