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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-06 · Modified: 2026-07-14
- Aliases: UBUNTU-CVE-2026-25556, DEBIAN-CVE-2026-25556
- Record: https://cvemate.com/vulnerability/CVE-2026-25556 · JSON: https://cvemate.com/vulnerability/CVE-2026-25556/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.534%, percentile 46.595%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- artifex software mupdf: ≥ 1.23.0, ≤ 1.27.0
- artifex mupdf: ≥ 1.23.0, ≤ 1.27.0
- debian mupdf (Debian): All versions (No fix recorded) \| \< 1.27.0+ds1-3
- ubuntu mupdf (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2026-25556>
- <https://www.cve.org/CVERecord?id=CVE-2026-25556>
- <https://security-tracker.debian.org/tracker/CVE-2026-25556>

---

Data as of 2026-12-05T03:06:56.216Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
