Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Code::Blocks | Code::Blocks | 16.01 | — |
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.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- ExploitDB-48344 exploit
- CODE::BLOCKS SourceForge Repository product
- VulnCheck Advisory: CODE::BLOCKS 16.01 - Buffer Overflow (SEH) UNICODE third-party-advisory
- VulnCheck Advisory: CODE::BLOCKS 16.01 - Buffer Overflow (SEH) UNICODE third-party-advisory