CVE-2025-6196
libgepub: Integer Overflow in libgepub's EPUB Archive Handling
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 17, 2025
Updated · June 28, 2026
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.
Statement
The Red Hat Product Security team has rated this vulnerability as Moderate. It is caused by an integer overflow in libgepub when handling crafted EPUB files, leading to excessive memory allocation and application crashes. The flaw requires user interaction, such as opening or previewing a malicious file. No remote or unauthenticated exploitation vectors are currently known.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
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.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-190 · Integer Overflow or Wraparound