p PatchFirst

CVE-2025-71382

CVE-2025-71382 · MuPDF < 1.27.0-rc1 Stack Exhaustion DoS via EPUB CSS Rendering

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.1 · High · EPSS 0.6% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • mupdf

    Versions
    • ≥ 0, < 1.27.0-rc1: Affected (custom)

    Update to 1.27.0-rc1

  • mupdf Debian:12

    Versions
    • 1.21.1+ds2-1
    • 1.21.1+ds2-1+deb12u1
    • 1.22.1+ds1-1
    • 1.22.2+ds1-1
    • 1.22.2+ds1-2
    • 1.23.10+ds1-1
    • 1.23.10+ds1-2
    • 1.23.6+ds1-1
    • 1.23.7+ds1-1
    • 1.24.10+ds1-1
    • 1.24.3+ds1-1
    • 1.24.8+ds2-1
    • 1.24.8+ds2-2
    • 1.24.9+ds1-1
    • 1.25.1+ds1-1
    • 1.25.1+ds1-2
    • 1.25.1+ds1-3
    • 1.25.1+ds1-4
    • 1.25.1+ds1-5
    • 1.25.1+ds1-6
    • 1.25.1+ds1-7
    • 1.25.1+ds1-8
    • 1.25.1+ds1-9
    • 1.27.0+ds1-1
    • 1.27.0+ds1-2
    • 1.27.0+ds1-3
    • 1.27.0+ds1-4
    • 1.27.0+ds1-5
    • 1.27.0+ds1-6
    • 1.28.0+ds1-1
    • 1.28.2+ds1-1
    • 1.28.2+ds1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Debian:13

    Versions
    • 1.25.1+ds1-6
    • 1.25.1+ds1-6+deb13u1
    • 1.25.1+ds1-7
    • 1.25.1+ds1-8
    • 1.25.1+ds1-9
    • 1.27.0+ds1-1
    • 1.27.0+ds1-2
    • 1.27.0+ds1-3
    • 1.27.0+ds1-4
    • 1.27.0+ds1-5
    • 1.27.0+ds1-6
    • 1.28.0+ds1-1
    • 1.28.2+ds1-1
    • 1.28.2+ds1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Debian:14

    Versions
    • 1.25.1+ds1-6
    • 1.25.1+ds1-7
    • 1.25.1+ds1-8
    • 1.25.1+ds1-9
    • 1.27.0+ds1-1
    Affected ranges
    • ECOSYSTEM: < 1.27.0+ds1-2

    Update to 1.27.0+ds1-2

  • mupdf Ubuntu:Pro:16.04:LTS

    Versions
    • 1.7-1
    • 1.7a-1
    • 1.7a-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Ubuntu:Pro:18.04:LTS

    Versions
    • 1.11+ds1-1.1
    • 1.11+ds1-2
    • 1.12.0+ds1-1
    • 1.12.0+ds1-1ubuntu0.1~esm1
    • 1.12.0+ds1-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Ubuntu:Pro:20.04:LTS

    Versions
    • 1.15.0+ds1-1
    • 1.16.1+ds1-1ubuntu1
    • 1.16.1+ds1-1ubuntu1+esm1
    • 1.16.1+ds1-1ubuntu1+esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Ubuntu:Pro:22.04:LTS

    Versions
    • 1.17.0+ds1-2
    • 1.19.0+ds1-1
    • 1.19.0+ds1-1build1
    • 1.19.0+ds1-2
    • 1.19.0+ds1-2ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Ubuntu:Pro:24.04:LTS

    Versions
    • 1.22.2+ds1-2
    • 1.22.2+ds1-2build1
    • 1.23.6+ds1-1
    • 1.23.7+ds1-1
    • 1.23.10+ds1-1
    • 1.23.10+ds1-1build1
    • 1.23.10+ds1-1build2
    • 1.23.10+ds1-1build3
    • 1.23.10+ds1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Ubuntu:25.10

    Versions
    • 1.25.1+ds1-5build2
    • 1.25.1+ds1-6
    • 1.25.1+ds1-7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Ubuntu:26.10

    Versions
    • 1.27.0+ds1-3ubuntu2
    • 1.27.0+ds1-3ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mupdf Ubuntu:26.04:LTS

    Versions
    • 1.25.1+ds1-7
    • 1.25.1+ds1-7build1
    • 1.25.1+ds1-7build2
    • 1.27.0+ds1-2ubuntu1
    • 1.27.0+ds1-3ubuntu1
    • 1.27.0+ds1-3ubuntu2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →