Skip to content
OpenAdvisories
High · 8.4 CVE-2020-37040 EUVD-2020-30938GHSA-6rp6-p89c-5fpr

Code Blocks 17.12 - 'File Name' Local Buffer Overflow

Published Jan 30, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Code::Blocks Code::Blocks 17.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 codeblocks No fix yet —
Ubuntu 26.04 LTS codeblocks No fix yet —
Ubuntu 25.10 codeblocks No fix yet —
Ubuntu 24.04 LTS codeblocks No fix yet —
Ubuntu 22.04 LTS codeblocks No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS codeblocks No fix yet —
Ubuntu 18.04 LTS codeblocks No fix yet —
Ubuntu 16.04 LTS codeblocks No fix yet —

References