CVE-2025-48172
CHMLib 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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | chmlib | Fix pending | UBUNTU-CVE-2025-48172 | |
| Ubuntu 26.04 | chmlib | Under investigation | UBUNTU-CVE-2025-48172 | |
| Ubuntu 25.10 | chmlib | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-48172 | |
| Ubuntu 24.04 | chmlib | Under investigation | UBUNTU-CVE-2025-48172 | |
| Ubuntu 22.04 | chmlib | Under investigation | UBUNTU-CVE-2025-48172 | |
| Ubuntu 20.04 | chmlib | Fix pending | UBUNTU-CVE-2025-48172 | |
| Ubuntu 18.04 | chmlib | Fix pending | UBUNTU-CVE-2025-48172 | |
| Ubuntu 16.04 | chmlib | Fix pending | UBUNTU-CVE-2025-48172 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- CHMLib: affected: up to 2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f
References
- https://drive.google.com/file/d/1XpulFyCGlq7Szzg5RsH-eRwZ6OyuSozl/view?usp=sharing
- https://drive.google.com/file/d/1wq51px42eoJz2VQ1Qu9ObPVQVom9T9H_/view?usp=sharing
- https://github.com/jedwing/CHMLib/blob/2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f/src/chm_lib.c#L1386
- https://github.com/sumatrapdfreader/sumatrapdf/commit/08179946a745cf1605e4b9670942ec1a6e1f4c5d
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.