CVE-2025-48172
CHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chm_lib.c...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.6
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.
- Record
CVE-2025-48172- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2025-20018
5.6
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.
- Record
EUVD-2025-20018- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-rpc6-w47v-qqr6
5.6
CHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chm_lib.c...
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.
- Record
GHSA-rpc6-w47v-qqr6- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-190
- Updated
- 2026-11-02
NVD
5.6
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.
- Record
CVE-2025-48172- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-190
- Updated
- 2026-11-02
OSV
5.6
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.
- Record
CVE-2025-48172- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-48172
5.6
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.
- Record
UBUNTU-CVE-2025-48172- CVSS 3.1
- 5.6 Medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15326-1 No score
chmlib-devel-0.40-26.1 on GA media
These are all security issues fixed in the chmlib-devel-0.40-26.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15326-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
chmlibUbuntu:16.04:LTS |
All versions, plus listed versions 2:0.40a-3 |
None known |
chmlibUbuntu:18.04:LTS |
All versions, plus listed versions 2:0.40a-32:0.40a-4 |
None known |
chmlibUbuntu:20.04:LTS |
All versions, plus listed versions 2:0.40a-5 |
None known |
chmlibUbuntu:22.04:LTS |
All versions, plus listed versions 2:0.40a-7 |
None known |
chmlibUbuntu:24.04:LTS |
All versions, plus listed versions 2:0.40a-8 |
None known |
chmlibUbuntu:25.10 |
All versions, plus listed versions 2:0.40a-8.1 |
None known |
chmlibUbuntu:26.10 |
All versions, plus listed versions 2:0.40a-9 |
None known |
chmlibUbuntu:26.04:LTS |
All versions, plus listed versions 2:0.40a-8.12:0.40a-9 |
None known |
chmlibopenSUSE:Tumbleweed |
before 0.40-26.1 | 0.40-26.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-48172 is a medium vulnerability (CVSS 5.6) in Chmlib, published July 4, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.18%, the 7th percentile. Fixed in chmlib 0.40-26.1.
References
drive.google.com/file/d/1XpulFyCGlq7Szzg5RsH-eRwZ6OyuSozl/view?usp=sharing
drive.google.com/file/d/1wq51px42eoJz2VQ1Qu9ObPVQVom9T9H_/view?usp=sharing
github.com/jedwing/CHMLib/blob/2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f/src/chm_lib.c
github.com/sumatrapdfreader/sumatrapdf/commit/08179946a745cf1605e4b9670942ec1a6e1f4c5d
nvd.nist.gov/vuln/detail/CVE-2025-48172
github.com/advisories/GHSA-rpc6-w47v-qqr6