Description
Stack-based buffer overflow in the _chm_find_in_PMGL function in chm_lib.c for chmlib before 0.36, as used in products such as KchmViewer, allows user-assisted attackers to execute arbitrary code via a CHM file containing a long element, a different vulnerability than CVE-2005-3318.
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 14 | chmlib | 0.36-1 | — |
| Debian 13 | chmlib | 0.36-1 | — |
| Debian 12 | chmlib | 0.36-1 | — |
| Debian 3.1 | chmlib | 0.35-6sarge1 | DSA-886-1 |
Advisories 1
- DSA-886-1 chmlib - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 15234 vdb-entry
- 125 third-party-advisory
- 17775 third-party-advisory
- 20051028 Multiple Vendor chmlib CHM File Handling Buffer Overflow Vulnerability third-party-advisory
- ADV-2005-2249 vdb-entry
- 1015120 vdb-entry