{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.27.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d3b7556577b790e9761868c314ad6fd9b6dd86a9"
            },
            {
              "fixed": "70b71ab22e6de4d4c44cd301c88231f623a4e94e"
            },
            {
              "fixed": "9d419fc6d9e4caa46e15d8e5d313b2d57c61bfa7"
            }
          ],
          "repo": "https://github.com/artifexsoftware/mupdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71382.json"
  },
  "details": "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.",
  "id": "CVE-2025-71382",
  "modified": "2026-07-16T03:30:54.817755006Z",
  "published": "2026-06-23T17:21:48.562Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/ArtifexSoftware/mupdf/releases/tag/1.27.0-rc1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71382.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-71382"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mupdf-rc1-stack-exhaustion-dos-via-epub-css-rendering"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ArtifexSoftware/mupdf/commit/70b71ab22e6de4d4c44cd301c88231f623a4e94e"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ArtifexSoftware/mupdf"
    },
    {
      "type": "EVIDENCE",
      "url": "https://bugs.ghostscript.com/show_bug.cgi?id=708840"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "MuPDF \u003c 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering"
}