Skip to content

CVE-2020-37040 Code Blocks 17.12 - 'File Name' Local Buffer Overflow

HighCVSS 8.4 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

13 packages: 0 fixed, 12 with no fix yet.

PackageAffectedFixed inStatus
debian/codeblocks(Debian 11) = 20.03+svn13046-0.1; = 20.03+svn13046-0.2; = 20.03+svn13046-0.3; = 20.03+svn13046-0.3~exp1 +8 more No fix listed No fix yet
debian/codeblocks(Debian 12) = 20.03+svn13046-0.1; = 20.03+svn13046-0.2; = 20.03+svn13046-0.3; = 20.03+svn13046-0.3~exp1 +6 more No fix listed No fix yet
debian/codeblocks(Debian 13) = 25.03+dfsg-2; = 25.03+dfsg-2.1; = 25.03+dfsg-3; All versions No fix listed No fix yet
debian/codeblocks(Debian 14) = 25.03+dfsg-2; = 25.03+dfsg-2.1; = 25.03+dfsg-3; All versions No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 16.04) = 13.12+dfsg-4; = 13.12-3.1build1; All versions No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 18.04) = 16.01+dfsg-2.1; All versions No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 20.04) = 16.01+dfsg-2.1; = 17.12+dfsg-1; = 17.12+dfsg-1build1; = 20.03-3 +1 more No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 22.04) = 20.03-3; = 20.03-3.1; All versions No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 24.04) = 20.03+svn13046-0.1build1; = 20.03+svn13046-0.2; = 20.03+svn13046-0.3build1; = 20.03+svn13046-0.3build2 +1 more No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 25.10) = 20.03+svn13046-0.4; = 25.03+dfsg-2; All versions No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 26.04) = 25.03+dfsg-2; = 25.03+dfsg-2.1; All versions No fix listed No fix yet
ubuntu/codeblocks(Ubuntu 26.10) = 25.03+dfsg-2.1; = 25.03+dfsg-3; All versions No fix listed No fix yet
codeblocks = 17.12 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/codeblocks(Debian:11) All versions No fix listed
debian/codeblocks(Debian:11) = 20.03+svn13046-0.1 No fix listed
debian/codeblocks(Debian:11) = 20.03+svn13046-0.2 No fix listed
debian/codeblocks(Debian:11) = 20.03+svn13046-0.3 No fix listed
debian/codeblocks(Debian:11) = 20.03+svn13046-0.3~exp1 No fix listed
debian/codeblocks(Debian:11) = 20.03+svn13046-0.4 No fix listed
debian/codeblocks(Debian:11) = 20.03-3 No fix listed
debian/codeblocks(Debian:11) = 20.03-3.1 No fix listed
debian/codeblocks(Debian:11) = 25.03+dfsg-1 No fix listed
debian/codeblocks(Debian:11) = 25.03+dfsg-2 No fix listed
debian/codeblocks(Debian:11) = 25.03+dfsg-2.1 No fix listed
debian/codeblocks(Debian:11) = 25.03+dfsg-3 No fix listed
debian/codeblocks(Debian:12) All versions No fix listed
debian/codeblocks(Debian:12) = 20.03+svn13046-0.1 No fix listed
debian/codeblocks(Debian:12) = 20.03+svn13046-0.2 No fix listed
debian/codeblocks(Debian:12) = 20.03+svn13046-0.3 No fix listed
debian/codeblocks(Debian:12) = 20.03+svn13046-0.3~exp1 No fix listed
debian/codeblocks(Debian:12) = 20.03+svn13046-0.4 No fix listed
debian/codeblocks(Debian:12) = 25.03+dfsg-1 No fix listed
debian/codeblocks(Debian:12) = 25.03+dfsg-2 No fix listed
debian/codeblocks(Debian:12) = 25.03+dfsg-2.1 No fix listed
debian/codeblocks(Debian:12) = 25.03+dfsg-3 No fix listed
debian/codeblocks(Debian:13) All versions No fix listed
debian/codeblocks(Debian:13) = 25.03+dfsg-2 No fix listed
debian/codeblocks(Debian:13) = 25.03+dfsg-2.1 No fix listed
Show 33 more
ProductAffected versionsFixed in
debian/codeblocks(Debian:13) = 25.03+dfsg-3 No fix listed
debian/codeblocks(Debian:14) All versions No fix listed
debian/codeblocks(Debian:14) = 25.03+dfsg-2 No fix listed
debian/codeblocks(Debian:14) = 25.03+dfsg-2.1 No fix listed
debian/codeblocks(Debian:14) = 25.03+dfsg-3 No fix listed
ubuntu/codeblocks(Ubuntu:24.04) All versions No fix listed
codeblocks = 17.12 No fix listed
ubuntu/codeblocks(Ubuntu:26.04) All versions No fix listed
ubuntu/codeblocks(Ubuntu:26.10) All versions No fix listed
ubuntu/codeblocks(Ubuntu:22.04) All versions No fix listed
ubuntu/codeblocks(Ubuntu:16.04) All versions No fix listed
ubuntu/codeblocks(Ubuntu:16.04) = 13.12-3.1build1 No fix listed
ubuntu/codeblocks(Ubuntu:16.04) = 13.12+dfsg-4 No fix listed
ubuntu/codeblocks(Ubuntu:18.04) All versions No fix listed
ubuntu/codeblocks(Ubuntu:18.04) = 16.01+dfsg-2.1 No fix listed
ubuntu/codeblocks(Ubuntu:20.04) All versions No fix listed
ubuntu/codeblocks(Ubuntu:20.04) = 16.01+dfsg-2.1 No fix listed
ubuntu/codeblocks(Ubuntu:20.04) = 17.12+dfsg-1 No fix listed
ubuntu/codeblocks(Ubuntu:20.04) = 17.12+dfsg-1build1 No fix listed
ubuntu/codeblocks(Ubuntu:20.04) = 20.03-3 No fix listed
ubuntu/codeblocks(Ubuntu:22.04) = 20.03-3 No fix listed
ubuntu/codeblocks(Ubuntu:22.04) = 20.03-3.1 No fix listed
ubuntu/codeblocks(Ubuntu:24.04) = 20.03+svn13046-0.1build1 No fix listed
ubuntu/codeblocks(Ubuntu:24.04) = 20.03+svn13046-0.2 No fix listed
ubuntu/codeblocks(Ubuntu:24.04) = 20.03+svn13046-0.3build1 No fix listed
ubuntu/codeblocks(Ubuntu:24.04) = 20.03+svn13046-0.3build2 No fix listed
ubuntu/codeblocks(Ubuntu:25.10) All versions No fix listed
ubuntu/codeblocks(Ubuntu:25.10) = 20.03+svn13046-0.4 No fix listed
ubuntu/codeblocks(Ubuntu:25.10) = 25.03+dfsg-2 No fix listed
ubuntu/codeblocks(Ubuntu:26.10) = 25.03+dfsg-2.1 No fix listed
ubuntu/codeblocks(Ubuntu:26.10) = 25.03+dfsg-3 No fix listed
ubuntu/codeblocks(Ubuntu:26.04) = 25.03+dfsg-2 No fix listed
ubuntu/codeblocks(Ubuntu:26.04) = 25.03+dfsg-2.1 No fix listed

References