Description
Directory traversal vulnerability in extract_chmLib example program in CHM Lib (chmlib) before 0.38 allows remote attackers to overwrite arbitrary files via a CHM archive containing files with a .. (dot dot) in their filename.
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.38-1 | — |
| Debian 13 | chmlib | 0.38-1 | — |
| Debian 12 | chmlib | 0.38-1 | — |
| Debian 3.1 | chmlib | 0.35-6sarge3 | DSA-1144-1 |
Advisories 1
- DSA-1144-1 chmlib - missing input sanitising Debian Security (DSA / DLA) · Mar 9, 2026
References
- chmlib-extract-directory-traversal(27278) vdb-entry
- 18511 vdb-entry
- 1016343 vdb-entry
- 26636 vdb-entry
- ADV-2006-2430 vdb-entry
- 20734 third-party-advisory
- DSA-1144 vendor-advisory
- http://morte.jedrea.com/~jedwin/projects/chmlib/
- 21406 third-party-advisory