{"id":"CVE-2025-71382","title":"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 elem…","summary":"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 elem…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","cwe":["CWE-674"],"vendor":"artifex","product":"mupdf","affected":["mupdf < 1.27.0"],"patched":["mupdf 1.27.0"],"published":"2026-06-23","updated":"2026-09-30","sourceUpdated":"2026-09-30T21:10:00.190","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-71382","references":[{"url":"https://bugs.ghostscript.com/show_bug.cgi?id=708840","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-css-rendering","label":"disclosure@vulncheck.com"}],"tags":["nvd"],"epss":0.00583,"epssPercentile":0.4583,"ingestedAt":"2026-09-30T21:25:07.790Z","slug":"CVE-2025-71382","body":"## Overview\n\nMuPDF 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.\n\n## Affected\n\n- `mupdf < 1.27.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `mupdf 1.27.0`","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}