---
id: CVE-2020-37121
title: >-
  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
summary: >-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-121
published: '2026-02-05'
updated: '2026-08-06'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2020-37121'
references:
  - url: 'https://nutcrackerssecurity.github.io/posts/windows-exploit-dev-part-7/'
    label: disclosure@vulncheck.com
  - url: 'https://sourceforge.net/projects/codeblocks/'
    label: disclosure@vulncheck.com
  - url: 'https://www.codeblocks.org/'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/codeblocks-buffer-overflow-seh-unicode
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00206
epssPercentile: 0.1102
ingestedAt: '2026-08-06T23:06:29.159Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
