Home

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.

PUBLISHED Reserved 2026-01-28 | Published 2026-01-30 | Updated 2026-02-02 | Assigner VulnCheck




HIGH: 8.4CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
HIGH: 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Product status

17.12
affected

Credits

Paras Bhatia finder

References

www.exploit-db.com/exploits/48594 (ExploitDB-48594) exploit

www.codeblocks.org/ (Code Blocks Official Website) product

sourceforge.net/projects/codeblocks (Code Blocks SourceForge Page) product

www.vulncheck.com/...-blocks-file-name-local-buffer-overflow (VulnCheck Advisory: Code Blocks 17.12 - 'File Name' Local Buffer Overflow) third-party-advisory

cve.org (CVE-2020-37040)

nvd.nist.gov (CVE-2020-37040)

Download JSON