CVE-2025-71382 PUBLISHED

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

Assigner: VulnCheck
Reserved: 23.06.2026 Published: 23.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor ArtifexSoftware
Product mupdf
Versions Default: affected
  • affected from 0 to 1.27.0-rc1 (excl.)

Credits

  • Ishayu Potey finder

References

Problem Types

  • Uncontrolled Recursion CWE