CVEvulnerability
CVE-2026-25556
5.9 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-02-06
- Last modified
- 2026-07-14
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-415
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.
Affected configurations
• artifex mupdf (>= 1.23.0 <= 1.27.0)
Related
Weakness · CWE (1)
- CWE-415 Double Free weakness
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