cve.bz

CVE-2026-25556 artifex mupdf: Double Free

5.9 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.9) in artifex mupdf. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-02-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-25556 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-25556?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-25556?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-25556 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Artifex Software MuPDFfrom 1.23.0 through 1.27.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13mupdfno fix listedDEBIAN-CVE-2026-25556
Debian14mupdf1.27.0+ds1-3DEBIAN-CVE-2026-25556
Ubuntu25.10, 26.04:LTS, 26.10 and 5 moremupdfno fix listedUBUNTU-CVE-2026-25556
openSUSELeap 16.0mupdf1.27.2-bp160.1.1openSUSE-SU-2026:21180-1
openSUSETumbleweedmupdf1.27.1-1.1openSUSE-SU-2026:10214-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This MODERATE impact vulnerability in MuPDF affects applications that utilize its barcode decoding functionality. The flaw can be triggered when processing specially crafted input that causes a rendering error during barcode decoding, leading to a double-free and potential application crash. Red Hat products are affected if they enable and use MuPDF for barcode decoding.

Red Hat's mitigation

To mitigate this issue, avoid processing untrusted or unverified input with applications that use MuPDF for barcode decoding. Restricting the sources of documents processed by MuPDF can reduce the risk of exploitation.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-25556.

References

Check your stackJSON