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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | libgepub | < 0.7.2 | 0.7.2 |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libgepub | 0.7.3-1 | — |
| Debian 13 | libgepub | 0.7.3-1 | — |
| Debian 12 | libgepub | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | libgepub | No fix yet | — |
| Ubuntu 22.04 LTS | libgepub | No fix yet | — |
| Ubuntu 20.04 LTS | libgepub | No fix yet | — |
| Ubuntu 18.04 LTS | libgepub | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | libgepub | 0.6.0-150200.3.5.1 | SUSE-SU-2025:02222-1, SUSE-SU-2025:02213-1 |
| SLES 15 SP6 | libgepub | 0.6.0-150200.3.5.1 | SUSE-SU-2025:02222-1, SUSE-SU-2025:02213-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | libgepub | 0.7.1-150600.3.5.1 | SUSE-SU-2025:02222-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libgepub +1 | 0.6.0-1.amzn2.0.1 | ALAS2-2025-2910 |
Advisories 3
- SUSE-SU-2025:02213-1 Security update for libgepub SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02222-1 Security update for libgepub SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2025-2910 Moderate: libgepub security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jul 10, 2025