{"id":"CVE-2025-48172","aliases":["EUVD-2025-20018","GHSA-rpc6-w47v-qqr6","UBUNTU-CVE-2025-48172","openSUSE-SU-2025:15326-1"],"status":"published","title":"CHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chm_lib.c...","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.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00183,"percentile":0.07921,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2025-07-04T00:00:00Z","modified":"2026-10-28T11:01:51Z","fixes":[{"ecosystem":"openSUSE:Tumbleweed","package":"chmlib","fixed_in":["0.40-26.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-3","2:0.40a-4"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-5"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-7"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-8"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-8.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-9"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.40a-8.1","2:0.40a-9"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"chmlib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.40-26.1"}]}]}],"products":[{"vendor":"chmlib","product":"chmlib"}],"references":[{"url":"https://drive.google.com/file/d/1XpulFyCGlq7Szzg5RsH-eRwZ6OyuSozl/view?usp=sharing","tags":["exploit","web","report"]},{"url":"https://drive.google.com/file/d/1wq51px42eoJz2VQ1Qu9ObPVQVom9T9H_/view?usp=sharing","tags":["web","report"]},{"url":"https://github.com/jedwing/CHMLib/blob/2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f/src/chm_lib.c#L1386","tags":["web","report"]},{"url":"https://github.com/sumatrapdfreader/sumatrapdf/commit/08179946a745cf1605e4b9670942ec1a6e1f4c5d","tags":["fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48172","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rpc6-w47v-qqr6"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48172.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-48172","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-48172","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2025-48172","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2025-48172","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.","status":"published","published":"2025-07-04T00:00:00Z","modified":"2025-07-08T14:29:58.784Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:32:41.41198Z"}],"euvd":[{"id":"EUVD-2025-20018","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.","status":"published","published":"2025-07-04T00:00:00Z","modified":"2025-07-08T14:29:58Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:32:12.59227Z"}],"ghsa":[{"id":"GHSA-rpc6-w47v-qqr6","title":"CHMLib through 2bef8d0, as used in SumatraPDF and other products, has a chm_lib.c...","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.","status":"published","published":"2025-07-04T15:31:08Z","modified":"2025-07-04T15:31:09Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:02:54.432789Z"}],"nvd":[{"id":"CVE-2025-48172","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.","status":"published","published":"2025-07-04T13:15:25.453Z","modified":"2026-06-17T09:29:16.577Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:11:16.997062Z"}],"osv":[{"id":"CVE-2025-48172","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.","status":"published","published":"2025-07-04T00:00:00Z","modified":"2026-10-28T11:01:51.320863888Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:44:50.037003Z"},{"id":"UBUNTU-CVE-2025-48172","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.","status":"published","published":"2025-07-04T13:15:00Z","modified":"2026-10-17T12:57:03.998825978Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T16:55:50.31802Z"},{"id":"openSUSE-SU-2025:15326-1","title":"chmlib-devel-0.40-26.1 on GA media","description":"These are all security issues fixed in the chmlib-devel-0.40-26.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2025-07-09T00:00:00Z","modified":"2026-03-23T04:53:39.227165Z","updated_at":"2026-11-02T16:58:37.810934Z"}]}}
