CVE-2026-25556

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:24

Type Values Removed Values Added
Summary
  • (es) Las versiones de MuPDF 1.23.0 a 1.27.0 contienen una vulnerabilidad de doble liberación en fz_fill_pixmap_from_display_list() cuando ocurre una excepción durante la renderización de la lista de visualización. La función acepta un puntero fz_pixmap propiedad del llamador, pero libera incorrectamente el pixmap en su ruta de manejo de errores antes de relanzar la excepción. Los llamadores (incluida la ruta de decodificación de códigos de barras en fz_decode_barcode_from_display_list) también liberan el mismo pixmap en la limpieza, lo que resulta en una doble liberación que puede corromper el heap y bloquear el proceso. Este problema afecta a las aplicaciones que habilitan y utilizan la decodificación de códigos de barras de MuPDF y puede ser activado al procesar una entrada manipulada que causa un error en tiempo de renderización mientras se decodifican códigos de barras.

24 Feb 2026, 21:07

Type Values Removed Values Added
References () https://bugs.ghostscript.com/show_bug.cgi?id=709029 - () https://bugs.ghostscript.com/show_bug.cgi?id=709029 - Exploit, Issue Tracking
References () https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=d4743b6092d513321c23c6f7fe5cff87cde043c1 - () https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=d4743b6092d513321c23c6f7fe5cff87cde043c1 - Patch
References () https://mupdf.com/ - () https://mupdf.com/ - Product
References () https://www.vulncheck.com/advisories/mupdf-barcode-decoding-double-free - () https://www.vulncheck.com/advisories/mupdf-barcode-decoding-double-free - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:artifex:mupdf:*:*:*:*:*:*:*:*
First Time Artifex
Artifex mupdf

06 Feb 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-06 17:16

Updated : 2026-07-14 16:16


NVD link : CVE-2026-25556

Mitre link : CVE-2026-25556

CVE.ORG link : CVE-2026-25556


JSON object : View

Products Affected

artifex

  • mupdf
CWE
CWE-415

Double Free