CVE-2025-6196 Details
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.
An integer overflow vulnerability has been identified in the libgepub library, which is used to read EPUB files. The issue arises in the EPUB archive parser, specifically within the gepub_archive_read_entry() function. Here, a 64-bit size value from archive_entry_size() is improperly cast to a 32-bit signed integer. This mismanagement allows specially crafted EPUB files with large declared file sizes to wrap into negative integers. The negative value is then passed to g_malloc0(), resulting in an attempt to allocate a very large unsigned memory size, which fails and causes the application to crash. This vulnerability can lead to a denial-of-service condition in applications that utilize libgepub, such as the desktop service Tumbler, which may automatically process malicious EPUB files when directories are browsed. While no direct remote attack vectors have been confirmed, any application that uses libgepub to parse user-supplied EPUB content could potentially be vulnerable.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2025-6196 | [email protected] | MitigationThird Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2373117 | [email protected] | Issue TrackingThird Party Advisory |
| https://gitlab.gnome.org/GNOME/libgepub/-/issues/18 | [email protected] | ExploitIssue TrackingThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnome libgepub | All versions |
CPE
Remediation
| |
| redhat enterprise linux | 7.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 12, 2025 | Initial Analysis | [email protected] |
| Jun 17, 2025 | New CVE Received | [email protected] |