CVE-2025-48172

NameCVE-2025-48172
DescriptionCHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chm_lib.c _chm_decompress_block integer overflow. There is a resultant heap-based buffer overflow in _chm_fetch_bytes.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
chmlib (PTS)bullseye2:0.40a-7fixed
bookworm2:0.40a-8fixed
sid, trixie2:0.40a-8.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
chmlibsource(unstable)(not affected)

Notes

- chmlib <not-affected> (Vulnerable code introduced in changes from sumatrapdf)
Introduced with: https://github.com/sumatrapdfreader/sumatrapdf/commit/39528ca130c6ceac99c3d96ce7a26d9e99a0d3a9
Fixed by: https://github.com/sumatrapdfreader/sumatrapdf/commit/08179946a745cf1605e4b9670942ec1a6e1f4c5d

Search for package or bug name: Reporting problems