Uncontrolled Recursion Affecting mupdf package, versions [,1.27.0-rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th 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-UNMANAGED-MUPDF-17812752
  • published4 Jul 2026
  • disclosed23 Jun 2026
  • creditUnknown

Introduced: 23 Jun 2026

CVE-2025-71382  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade mupdf to version 1.27.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion through the value_from_inheritable_property function in the EPUB CSS rendering process. An attacker can cause the application to crash by supplying a specially crafted EPUB file containing deeply nested HTML elements and inline CSS styles, leading to stack exhaustion during rendering.

CVSS Base Scores

version 4.0
version 3.1