Vulnerability · Published Jul 4, 2025 · Assigned by mitre
CVE-2025-48172
Medium 5.6
In plain English
A medium-severity integer overflow in CHMLib from CHMLib. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities).
Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.2%top 92.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | chmlib | no fix listed | UBUNTU-CVE-2025-48172 |
| Ubuntu:24.04:LTS | chmlib | no fix listed | UBUNTU-CVE-2025-48172 |
| Ubuntu:25.10 | chmlib | no fix listed | UBUNTU-CVE-2025-48172 |
| Ubuntu:26.04:LTS | chmlib | no fix listed | UBUNTU-CVE-2025-48172 |
| Ubuntu:26.10 | chmlib | no fix listed | UBUNTU-CVE-2025-48172 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
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