CVE-2020-37121 CODE::BLOCKS 16.01 - Buffer Overflow (SEH) UNICODE

Medium 6.7 Published Updated

Attackers can execute arbitrary code by tricking users into opening a malicious text file in Code::Blocks, exploiting a buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2020-37121?

CVE-2020-37121 is a medium-severity memory corruption vulnerability in Code::Blocks, published on 5 Feb 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-121

Which versions are affected by CVE-2020-37121?

How do I fix CVE-2020-37121?

No fix has been published for CVE-2020-37121 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-37121 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-37121 exists.

Sources

Also known as GHSA-77vf-q3xf-37g8, UBUNTU-CVE-2020-37121.

Is CVE-2020-37121 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free