Buffer overflow in Code::blocks
CVE-2020-37121
CODE::BLOCKS 16.01 contains a buffer overflow vulnerability that allows attackers to execute arbitrary code by overwriting Structured Exception Handler with crafted Unicode characters. Attackers can create a malicious text file with 1982 bytes of buffer and shellcode to trigger remote code execution.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.002 (10.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 10th percentile — 10.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.000
Affected products
- Code::blocks — versions 16.01
Weakness classification (CWE)
References
- ExploitDB-48344 (exploit)
- www.codeblocks.org/ (product)
- sourceforge.net/projects/codeblocks/ (product, third-party-advisory)
- www.vulncheck.com/advisories/codeblocks-buffer-overflow-seh-unicode (third-party-advisory)
- nutcrackerssecurity.github.io/posts/windows-exploit-dev-part-7/ (exploit)
Frequently asked questions
- What is CVE-2020-37121?
- CVE-2020-37121 is a medium-severity vulnerability in Code::blocks, classified under Stack-based Buffer Overflow. CVSS score: 5.5/10. Published 2026-02-05.
- How severe is CVE-2020-37121?
- Medium severity. CVSS v3 base score is 5.5 out of 10.