p PatchFirst

CVE-2026-25556

CVE-2026-25556 · MuPDF 1.23.0 through 1.27.0 Barcode Decoding Double Free

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

MuPDF versions 1.23.0 through 1.27.0 contain a double-free vulnerability in fz_fill_pixmap_from_display_list() when an exception occurs during display list rendering. The function accepts a caller-owned fz_pixmap pointer but incorrectly drops the pixmap in its error handling path before rethrowing the exception. Callers (including the barcode decoding path in fz_decode_barcode_from_display_list) also drop the same pixmap in cleanup, resulting in a double-free that can corrupt the heap and crash the process. This issue affects applications that enable and use MuPDF barcode decoding and can be triggered by processing crafted input that causes a rendering-time error while decoding barcodes.

CVSS 5.9 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • mupdf

    Versions
    • ≥ 1.23.0, ≤ 1.27.0: Affected (semver)

    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
    • 1.27.0+ds1-2
    Affected ranges
    • ECOSYSTEM: < 1.27.0+ds1-3

    Update to 1.27.0+ds1-3

  • 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 →