Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-71382 EUVD-2025-210322GHSA-mhwh-83qc-j6x4

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

Published Jun 23, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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 products

VendorProductAffectedFixed
ArtifexSoftware mupdf < 1.27.0-rc1 1.27.0-rc1

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.

ReleasePackageFixed inAdvisory
Debian 14 mupdf 1.27.0+ds1-2 —
Debian 13 mupdf No fix yet —
Debian 12 mupdf No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mupdf No fix yet —
Ubuntu 26.04 LTS mupdf No fix yet —
Ubuntu 25.10 mupdf No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS mupdf No fix yet —
Ubuntu Pro 22.04 LTS mupdf No fix yet —
Ubuntu Pro 20.04 LTS mupdf No fix yet —
Ubuntu Pro 18.04 LTS mupdf No fix yet —
Ubuntu Pro 16.04 LTS mupdf No fix yet —

References