CVE-2020-37040

HIGH

Code Blocks 17.12 - Buffer Overflow

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2020-37040. PoCs published by Paras Bhatia.

AI-analyzed exploit summary This exploit leverages a local buffer overflow in Code Blocks 17.12 via a crafted filename input, bypassing DEP and executing arbitrary code (calc.exe) through SEH overwrite and Unicode-compatible shellcode.

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.

Exploits (1)

exploitdb WORKING POC
by Paras Bhatia · pythonlocalwindows
https://www.exploit-db.com/exploits/48594

This exploit leverages a local buffer overflow in Code Blocks 17.12 via a crafted filename input, bypassing DEP and executing arbitrary code (calc.exe) through SEH overwrite and Unicode-compatible shellcode.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Code Blocks 17.12
No auth needed
Prerequisites: DEP disabled for codeblocks.exe · User interaction to paste payload into filename field
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit, Third Party Advisory exploit
https://www.exploit-db.com/exploits/48594
Various Sources product
http://www.codeblocks.org/

Scores

CVSS v3 8.4
EPSS 0.0019
EPSS Percentile 8.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-120
Status published
Published Jan 30, 2026
Tracked Since Feb 18, 2026