Description
The chmd_read_headers function in chmd.c in libmspack before 0.5 does not validate name lengths, which allows remote attackers to cause a denial of service (buffer over-read and application crash) via a crafted CHM 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 14 | libmspack | 0.4-3 | — |
| Debian 13 | libmspack | 0.4-3 | — |
| Debian 12 | libmspack | 0.4-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | libmspack | 0.4-1ubuntu0.1~esm2 | USN-7788-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | libmspack | 0.4-14.4 | SUSE-SU-2016:0011-1 |
| SLES 12 | libmspack | 0.4-14.4 | SUSE-SU-2016:0011-1 |
| SLES 11 SP4 | libmspack | 0.0.20060920alpha-74.10.1 | SUSE-SU-2015:2215-1 |
| SLES 11 SP3 | libmspack | 0.0.20060920alpha-74.10.1 | SUSE-SU-2015:2215-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | libmspack | 0.4-14.4 | SUSE-SU-2016:0011-1 |
| SLES for SAP 12 | libmspack | 0.4-14.4 | SUSE-SU-2016:0011-1 |
| SLES for SAP 11 SP4 | libmspack | 0.0.20060920alpha-74.10.1 | SUSE-SU-2015:2215-1 |
| SLES for SAP 11 SP3 | libmspack | 0.0.20060920alpha-74.10.1 | SUSE-SU-2015:2215-1 |
Advisories 3
- USN-7788-1 libmspack vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- SUSE-SU-2015:2215-1 Security update for libmspack SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:0011-1 Security update for libmspack SUSE / openSUSE Security Updates · Feb 4, 2026