CVE-2026-25556MuPDF 1.23.0 through 1.27.0 Barcode Decoding Double Free
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mupdf | Fix pending | UBUNTU-CVE-2026-25556 | |
| Ubuntu 26.04 | mupdf | Under investigation | UBUNTU-CVE-2026-25556 | |
| Ubuntu 25.10 | mupdf | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-25556 | |
| Ubuntu 24.04 | mupdf | Fix pending | UBUNTU-CVE-2026-25556 | |
| Ubuntu 22.04 | mupdf | Fix pending | UBUNTU-CVE-2026-25556 | |
| Ubuntu 20.04 | mupdf | Fix pending | UBUNTU-CVE-2026-25556 | |
| Ubuntu 18.04 | mupdf | Fix pending | UBUNTU-CVE-2026-25556 | |
| Ubuntu 16.04 | mupdf | Fix pending | UBUNTU-CVE-2026-25556 | |
| Debian 14 | mupdf | Fixed | 1.27.0+ds1-3 | DEBIAN-CVE-2026-25556 |
| Debian 13 | mupdf | Fix pending | DEBIAN-CVE-2026-25556 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Artifex Software MuPDF: affected: 1.23.0 to 1.27.0
Vendor advisories:
References
- https://bugs.ghostscript.com/show_bug.cgi?id=709029
- https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=d4743b6092d513321c23c6f7fe5cff87cde043c1
- https://mupdf.com/
- https://www.vulncheck.com/advisories/mupdf-barcode-decoding-double-free
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.