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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Active; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.82% (percentile 54, 2026-11-28)
- **CWE:** CWE-415
- **Published:** 2026-02-06T16:11:59.926Z
- **Modified:** 2026-07-14T16:16:53.830Z

## Who should check

- Anyone running Artifex Software MuPDF \>= 1.23.0, \<= 1.27.0

## 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 and fixed versions

- Artifex Software MuPDF: \>= 1.23.0, \<= 1.27.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-25556. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-25556.md
Affected: Artifex Software MuPDF >= 1.23.0, <= 1.27.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Artifex Software MuPDF: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-25556 being exploited?

There is no confirmed exploitation: CVE-2026-25556 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.82% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-25556?

Medium: CVSS 5.9 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-25556?

Artifex Software MuPDF \>= 1.23.0, \<= 1.27.0.

### Is there a fix for CVE-2026-25556?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-25556?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://cgit.ghostscript.com/cgi-bin/cgit.cgi/mupdf.git/commit/?id=d4743b6092d513321c23c6f7fe5cff87cde043c1>
- exploit: <https://bugs.ghostscript.com/show_bug.cgi?id=709029>
- other: <https://mupdf.com/>
- other: <https://www.vulncheck.com/advisories/mupdf-barcode-decoding-double-free>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-25556>

HTML: <https://flawdb.com/CVE-2026-25556> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-25556>
