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

- Severity: Medium 5.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-06T16:11:59.926Z
- Modified: 2026-07-14T16:16:53.830Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- Artifex Software MuPDF: from 1.23.0 up to 1.27.0
- artifex mupdf: from 1.23.0 up to 1.27.0

## Every score

- VulnCheck: CVSS:4.0 5.9 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://bugs.ghostscript.com/show_bug.cgi?id=709029> (exploit, issue-tracking)
- <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=d4743b6092d513321c23c6f7fe5cff87cde043c1> (patch)
- <https://mupdf.com/> (product)
- <https://www.vulncheck.com/advisories/mupdf-barcode-decoding-double-free> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-25556](https://www.cve.org/CVERecord?id=CVE-2026-25556), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-25556](https://nvd.nist.gov/vuln/detail/CVE-2026-25556), Public domain, modified 2026-07-14

---

Page: https://cve.day/CVE-2026-25556 · Whole record: https://cve.day/CVE-2026-25556.json · Rebuilt by cve.day 2026-11-25T22:59:13.556Z
