# CVE-2025-48172: CHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chmlib.c chmdecompressblock integer overflow.

- Severity: Medium 5.6 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-04T00:00:00.000Z
- Modified: 2026-06-17T09:29:16.577Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- CHMLib CHMLib: up to 2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f

## References

- <https://drive.google.com/file/d/1XpulFyCGlq7Szzg5RsH-eRwZ6OyuSozl/view?usp=sharing> (exploit)
- <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>

## Sources

- CVE List: [CVE-2025-48172](https://www.cve.org/CVERecord?id=CVE-2025-48172), CVE Terms of Use, modified 2025-07-08
- NVD: [CVE-2025-48172](https://nvd.nist.gov/vuln/detail/CVE-2025-48172), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-48172 · Whole record: https://cve.day/CVE-2025-48172.json · Rebuilt by cve.day 2026-11-25T22:59:00.622Z
