CVE-2026-25556: MuPDF - Use After Free
- Cve: CVE-2026-25556
- Name: MuPDF - Use After Free
- 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.
- Impact: Attackers can cause heap corruption and crash the process, leading to denial of service.
- Remediation: Update to a version later than 1.27.0 or the latest available version.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00534
- Epss percentile: 0.45711
- Assignee: [email protected]
- Published at: 2026-02-06T17:16:27Z
- Age in days: 291
- Modified at: 2026-07-14T16:16:53Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25556
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-415 | Double Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.ghostscript.com/show_bug.cgi?id=709029 | nvd | 2026-02-06 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=d4743b6092d513321c23c6f7fe5cff87cde043c1 | Patch |
| https://bugs.ghostscript.com/show_bug.cgi?id=709029 | Exploit, Issue Tracking |
| https://www.vulncheck.com/advisories/mupdf-barcode-decoding-double-free | Third Party Advisory |
| https://mupdf.com/ | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| artifex:mupdf | >= 1.23.0, <= 1.27.0 | no | nvd | /v1/products/artifex/mupdf |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-02-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts