Integer Overflow or Wraparound Affecting libgepub package, versions <0.7.3-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-LIBGEPUB-10378954
  • published18 Jun 2025
  • disclosed17 Jun 2025

Introduced: 17 Jun 2025

NewCVE-2025-6196  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Debian:unstable libgepub to version 0.7.3-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgepub package and not the libgepub package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1