Description
Buffer overflow in the simplify_path function in config.c for ChBg 1.5 allows remote attackers to execute arbitrary code via a crafted chbg scenario file.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.0 | chbg | 1.5-1woody1 | DSA-644-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- ChBg 1.5 - Scenario File Overflow EDB-24848 · remote · Dec 15, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-644-1 chbg - buffer overflow Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://tigger.uic.edu/~jlongs2/holes/chbg.txt
- chbg-simplifypath-bo(18595) vdb-entry
- DSA-644 vendor-advisory
- MDKSA-2005:027 vendor-advisory