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

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-30T22:07:14.851Z
- Modified: 2026-07-28T01:47:07.875Z
- Weaknesses: CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Code::Blocks Code::Blocks: 17.12

## Every score

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

## References

- <https://www.exploit-db.com/exploits/48594> (exploit)
- <http://www.codeblocks.org/> (product)
- <https://sourceforge.net/projects/codeblocks> (product)
- <https://www.vulncheck.com/advisories/code-blocks-file-name-local-buffer-overflow> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-37040](https://www.cve.org/CVERecord?id=CVE-2020-37040), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2020-37040](https://nvd.nist.gov/vuln/detail/CVE-2020-37040), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-37040 · Whole record: https://cve.day/CVE-2020-37040.json · Rebuilt by cve.day 2026-11-25T22:57:59.066Z
