CHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chmlib.c chmdecompressblock integer overflow. There is a resultant heap-based buffer overflow in chmfetch_bytes.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48172.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"last_affected": "2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"last_affected": "2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f"
}
],
"source": "CPE_FIELD"
},
{
"extracted_events": [
{
"fixed": "2bef8d0"
}
],
"source": "DESCRIPTION"
}
],
"cwe_ids": [
"CWE-190"
]
}[
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-48172-611254ad",
"digest": {
"line_hashes": [
"195892175625739598384565738886928693113",
"149253868867704403655622444990774444724",
"103492216121940087843497286654604125259",
"297680089826767714702311139057703178215",
"80842639067664548787265453842758717036",
"314010403109654087180972229494859459488"
],
"threshold": 0.9
},
"source": "https://github.com/sumatrapdfreader/sumatrapdf/commit/08179946a745cf1605e4b9670942ec1a6e1f4c5d",
"target": {
"file": "ext/CHMLib/chm_lib.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-48172-c028f054",
"digest": {
"function_hash": "286458521566129013419023656621431881358",
"length": 739.0
},
"source": "https://github.com/sumatrapdfreader/sumatrapdf/commit/08179946a745cf1605e4b9670942ec1a6e1f4c5d",
"target": {
"file": "ext/CHMLib/chm_lib.c",
"function": "_unmarshal_lzxc_reset_table"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48172.json"
"2026-07-22T04:02:04Z"