CVEfocus › CVE database › CVE-2025-6196

CVE-2025-6196Libgepub: integer overflow in libgepub's epub archive handling

CVSS 5.5 MediumEPSS 0.3% (higher than 18% of CVEs)Published 2025-06-17Updated 2026-11-05Assigner: redhat

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.

CWE-190

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
5Fix pending
2Under investigation
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libgepubNot affected
vulnerable_code_not_present
Ubuntu 25.10libgepubNot affected
vulnerable_code_not_present
Ubuntu 24.04libgepubUnder investigationUBUNTU-CVE-2025-6196
Ubuntu 22.04libgepubUnder investigationUBUNTU-CVE-2025-6196
Ubuntu 20.04libgepubFix pendingUBUNTU-CVE-2025-6196
Ubuntu 18.04libgepubFix pendingUBUNTU-CVE-2025-6196
Debian 14libgepubFixed0.7.3-1DEBIAN-CVE-2025-6196
Debian 13libgepubFixed0.7.3-1DEBIAN-CVE-2025-6196
Debian 12libgepubFix pendingDEBIAN-CVE-2025-6196
Red Hat Enterprise Linux 7libgepubFix pending
Fix deferred
Red Hat Enterprise Linux 7libgepub-develFix pending
Fix deferred

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to a widespread installation base, or stability. It is strongly recommended to apply the upstream patch once available.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.