{"id":"CVE-2025-6196","aliases":["DEBIAN-CVE-2025-6196","EUVD-2025-18504","GHSA-mpq7-j427-mjff","SUSE-SU-2025:02213-1","SUSE-SU-2025:02222-1","UBUNTU-CVE-2025-6196"],"status":"published","title":"Libgepub: integer overflow in libgepub's epub archive handling","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00235,"percentile":0.14587,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2025-06-17T14:29:42Z","modified":"2026-11-06T17:28:52Z","fixes":[{"ecosystem":"Debian:13","package":"libgepub","fixed_in":["0.7.3-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libgepub","fixed_in":["0.7.3-1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","package":"libgepub","fixed_in":["0.6.0-150200.3.5.1","0.7.1-150600.3.5.1"],"sources":["osv"]},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","package":"libgepub","fixed_in":["0.6.0-150200.3.5.1","0.7.1-150600.3.5.1"],"sources":["osv"]},{"ecosystem":"openSUSE:Leap 15.6","package":"libgepub","fixed_in":["0.7.1-150600.3.5.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.0-2","0.7.1-1","0.7.1-2","0.7.3-1","0.7.3-2","0.7.3-3","0.7.3-4"]},{"source":"osv","ecosystem":"Debian:13","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.3-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.3-1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-150200.3.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.0-150200.3.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP6","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-150600.3.5.1"}]}]},{"source":"osv","ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-150600.3.5.1"}]}]},{"source":"osv","ecosystem":"openSUSE:Leap 15.6","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-150600.3.5.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.2-1","0.5.2-2","0.5.3-1","0.6.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.0-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.6.0-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libgepub","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7.1-1","0.7.1-2","0.7.1-2build1","0.7.1-2build2"]}],"products":[{"vendor":"gnome","product":"libgepub"},{"vendor":"red hat","product":"red hat enterprise linux 7"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-6196","tags":["vdb-entry","x_refsource_REDHAT","Mitigation","Third Party Advisory","advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2373117","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Third Party Advisory","report"]},{"url":"https://gitlab.gnome.org/GNOME/libgepub/-/issues/18","tags":["Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6196","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mpq7-j427-mjff"},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6196.json","tags":["advisory"]},{"url":"https://gitlab.gnome.org/GNOME/libgepub/","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-6196","tags":["advisory"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202502213-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1244704","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2025-6196","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-202502222-1/","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-6196","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-6196","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-6196","title":"Libgepub: integer overflow in libgepub's epub archive handling","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","status":"published","published":"2025-06-17T14:29:42.228Z","modified":"2026-11-05T16:32:44.319Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-190"],"updated_at":"2026-11-05T17:53:58.265681Z"}],"euvd":[{"id":"EUVD-2025-18504","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","status":"published","published":"2025-06-17T14:29:42Z","modified":"2026-11-05T16:32:44Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-05T18:00:57.863749Z"}],"ghsa":[{"id":"GHSA-mpq7-j427-mjff","title":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file...","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","status":"published","published":"2025-06-17T15:31:12Z","modified":"2025-06-17T15:31:22Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:02:44.519421Z"}],"nvd":[{"id":"CVE-2025-6196","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","status":"published","published":"2025-06-17T15:15:54.14Z","modified":"2026-11-05T17:17:19.887Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-190"],"updated_at":"2026-11-05T19:55:50.758755Z"}],"osv":[{"id":"CVE-2025-6196","title":"Libgepub: integer overflow in libgepub's epub archive handling","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","status":"published","published":"2025-06-17T14:29:42.228Z","modified":"2026-11-07T02:30:19.208404011Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-190"],"updated_at":"2026-11-07T03:07:58.118356Z"},{"id":"DEBIAN-CVE-2025-6196","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","status":"published","published":"2025-06-17T15:15:54.14Z","modified":"2026-11-06T17:28:52.118743133Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-06T18:00:26.717991Z"},{"id":"UBUNTU-CVE-2025-6196","description":"A flaw was found in libgepub, a library used to read EPUB files. The software mishandles file size calculations when opening specially crafted EPUB files, leading to incorrect memory allocations. This issue causes the application to crash. Known affected usage includes desktop services like Tumbler, which may process malicious files automatically when browsing directories. While no direct remote attack vectors are confirmed, any application using libgepub to parse user-supplied EPUB content could be vulnerable to a denial of service.","status":"published","published":"2025-06-17T15:15:00Z","modified":"2026-04-22T16:07:27.762782Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:55:50.817402Z"},{"id":"SUSE-SU-2025:02213-1","title":"Security update for libgepub","description":"This update for libgepub fixes the following issues:\n\n- CVE-2025-6196: Fixed an integer overflow in the EPUB archive handling code that can leads to massive memory allocation and application crash. (bsc#1244704)\n","status":"published","published":"2025-07-02T16:38:17Z","modified":"2026-02-04T04:35:57.263598Z","updated_at":"2026-11-02T15:53:56.647031Z"},{"id":"SUSE-SU-2025:02222-1","title":"Security update for libgepub","description":"This update for libgepub fixes the following issues:\n\n- CVE-2025-6196: Fixed an integer overflow in the EPUB archive handling code that can leads to massive memory allocation and application crash. (bsc#1244704)\n","status":"published","published":"2025-07-04T08:44:37Z","modified":"2026-02-04T02:24:47.106813Z","updated_at":"2026-11-02T15:53:56.647031Z"}]}}
