Libgepub: integer overflow in libgepub's epub archive handling
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-6196
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 13:58 UTC · Revision 1
Source evidence
Libgepub: integer overflow in libgepub's epub archive handling
core-osv · Original sourcePublished 17 Jun 2025, 14:29 UTC
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.
osv:CVE-2025-6196
Complete source record
{
"id": "5235f84e57b739e13fa185d9355ae5cce8a6e58ed0d8757874a3b347a0534c3d",
"url": "https://osv.dev/vulnerability/CVE-2025-6196",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Libgepub: integer overflow in libgepub's epub archive handling",
"summary": "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.",
"evidence": "osv:CVE-2025-6196",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-6196",
"aliases": [
"CVE-2025-6196"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/libgepub",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c810426937aeb8c5a175e43ac1a98f0f8d7277aa"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.7.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"0.7.1",
"0.7.0",
"0.6.0",
"0.6",
"0.5.3",
"0.5.2",
"0.5.1",
"0.5.0",
"0.4",
"0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6196.json"
}
}
],
"modified": "2026-10-28T02:30:29.211431221Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://access.redhat.com/security/cve/CVE-2025-6196",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6196.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-6196",
"https://bugzilla.redhat.com/show_bug.cgi?id=2373117",
"https://gitlab.gnome.org/GNOME/libgepub/-/issues/18",
"https://gitlab.gnome.org/GNOME/libgepub/"
],
"provider_metadata": {
"cwe_ids": [
"CWE-190"
],
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6196.json"
}
},
"related_cves": [
{
"value": "CVE-2025-6196",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496181,
"published_at": "2025-06-17T14:29:42.228+00:00"
}