Vulnerability · Published Jun 23, 2026 · Assigned by VulnCheck

CVE-2025-71382MuPDF < 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering

Medium 6.5

In plain English

A medium-severity security flaw in mupdf from ArtifexSoftware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 51.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

MuPDF before 1.27.0-rc1 contains an uncontrolled recursion vulnerability in the EPUB CSS rendering engine that allows remote attackers to cause a denial of service by supplying a maliciously crafted EPUB file with deeply nested HTML elements and inline CSS styles. The function value_from_inheritable_property() in css-apply.c recurses through the CSS property inheritance chain without a depth limit, exhausting the process stack and causing a crash in any application using MuPDF for EPUB rendering.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mupdfno fix listedDEBIAN-CVE-2025-71382
Debian:13mupdfno fix listedDEBIAN-CVE-2025-71382
Debian:14mupdf1.27.0+ds1-2DEBIAN-CVE-2025-71382
Ubuntu:25.10mupdfno fix listedUBUNTU-CVE-2025-71382
Ubuntu:26.04:LTSmupdfno fix listedUBUNTU-CVE-2025-71382
Ubuntu:26.10mupdfno fix listedUBUNTU-CVE-2025-71382

Affected products (as reported)

VendorProductVersions
ArtifexSoftware mupdf 0 – before 1.27.0-rc1

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References