CVE-2025-71382

published 23 Jun 2026 · updated 8 Nov 2026

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

7.5HighCVSS 6.5EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.27.0-rc1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ArtifexSoftware<1.27.0-rc11.27.0-rc1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-71382 severity on Zeptric[![CVE-2025-71382](https://zeptric.io/badge/cve/CVE-2025-71382.svg)](https://zeptric.io/cve/CVE-2025-71382)