CVE-2026-25556 Details
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.
A double-free vulnerability has been identified in MuPDF versions 1.23.0 through 1.27.0. The issue arises in the function 'fz_fill_pixmap_from_display_list()' when an exception occurs during the rendering of the display list. This function takes a caller-owned 'fz_pixmap' pointer but improperly frees the pixmap in its error handling process before rethrowing the exception. As a result, when callers, including 'fz_decode_barcode_from_display_list', attempt to clean up by dropping the same pixmap, it leads to a double-free situation. This vulnerability can corrupt the heap and cause the application to crash, particularly in scenarios where MuPDF's barcode decoding feature is used.
The vulnerability has been fixed in MuPDF version 1.27.1. Users should upgrade to this version to address the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| artifex mupdf | >= 1.23.0, <= 1.27.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |