CVE-2020-37040
Buffer Overflow in Code Blocks 17.12 Enables Arbitrary Code Execution
Publication date: 2026-01-30
Last updated on: 2026-01-30
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| unknown_vendor | code_blocks | 17.12 |
Helpful Resources
Exploitability
| 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 Powered Q&A
Can you explain this vulnerability to me?
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.
How can this vulnerability impact me? :
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.