Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25556

CVE-2026-25556: MuPDF Use After Free Vulnerability

CVE-2026-25556 is a use after free flaw in MuPDF versions 1.23.0 through 1.27.0 that causes double-free during barcode rendering. This post explains its technical details, affected versions, impact, and mitigation steps.

Published: February 13, 2026

CVE-2026-25556 Overview

CVE-2026-25556 is a double-free vulnerability affecting MuPDF versions 1.23.0 through 1.27.0. The flaw exists in the fz_fill_pixmap_from_display_list() function when an exception occurs during display list rendering. This memory corruption vulnerability can be triggered by processing specially crafted input that causes a rendering-time error while decoding barcodes, potentially leading to heap corruption and process crashes.

Critical Impact

Processing malicious documents with barcode content can trigger heap corruption through a double-free condition, causing denial of service through application crashes.

Affected Products

  • MuPDF versions 1.23.0 through 1.27.0
  • Applications utilizing MuPDF barcode decoding functionality
  • Document processing systems with MuPDF library integration

Discovery Timeline

  • 2026-02-06 - CVE-2026-25556 published to NVD
  • 2026-02-06 - Last updated in NVD database

Technical Details for CVE-2026-25556

Vulnerability Analysis

This double-free vulnerability (CWE-415) occurs due to improper memory ownership handling in MuPDF's display list rendering code. The fz_fill_pixmap_from_display_list() function accepts a caller-owned fz_pixmap pointer but incorrectly drops (frees) the pixmap in its error handling path before rethrowing the exception. When the calling function—such as fz_decode_barcode_from_display_list in the barcode decoding path—also performs cleanup by dropping the same pixmap, the memory is freed twice.

Double-free vulnerabilities are particularly dangerous as they can corrupt heap metadata, potentially leading to arbitrary memory writes in certain exploitation scenarios. While this specific vulnerability primarily manifests as a denial of service condition, heap corruption vulnerabilities historically have been escalated to more severe attacks.

Root Cause

The root cause stems from incorrect memory ownership semantics in the error handling path. The fz_fill_pixmap_from_display_list() function incorrectly assumes ownership of the fz_pixmap pointer during exception handling, dropping it before rethrowing the exception. However, since the pixmap is caller-owned, the calling function also attempts to free it during its cleanup routine, resulting in the double-free condition. This violates the principle that only one code path should be responsible for freeing allocated memory.

Attack Vector

The vulnerability is exploitable over the network when an attacker can supply crafted document input to an application using MuPDF's barcode decoding functionality. The attack requires:

  1. An application that enables MuPDF barcode decoding features
  2. User interaction to open or process the malicious document
  3. Crafted input that triggers a rendering-time error during barcode decoding

When these conditions are met, the malformed input causes an exception during display list rendering, triggering the flawed error handling path and resulting in heap corruption through the double-free.

The vulnerability mechanism involves incorrect cleanup sequencing. When an exception occurs in fz_fill_pixmap_from_display_list(), the function drops the caller-owned pixmap before rethrowing. The caller, unaware that the pixmap has already been freed, proceeds with its own cleanup and attempts to drop the same pixmap again. For technical implementation details, refer to the MuPDF commit that addresses this issue.

Detection Methods for CVE-2026-25556

Indicators of Compromise

  • Application crashes or unexpected terminations when processing PDF documents containing barcodes
  • Heap corruption errors in MuPDF-related processes during document rendering
  • Memory access violations or segmentation faults traced to MuPDF library functions

Detection Strategies

  • Monitor for crash dumps indicating double-free conditions in MuPDF processes
  • Implement application crash monitoring for processes using MuPDF library versions 1.23.0 through 1.27.0
  • Deploy memory sanitizers (ASan/MSan) in development and testing environments to detect double-free conditions
  • Review application logs for rendering exceptions during barcode decoding operations

Monitoring Recommendations

  • Enable heap corruption detection mechanisms in production environments using MuPDF
  • Implement file integrity monitoring for incoming documents processed by MuPDF-based applications
  • Configure crash reporting to capture stack traces when MuPDF processes terminate unexpectedly
  • Monitor network traffic for suspicious document transfers targeting document processing services

How to Mitigate CVE-2026-25556

Immediate Actions Required

  • Update MuPDF to a patched version that addresses the double-free condition
  • If updates cannot be applied immediately, disable barcode decoding functionality in MuPDF configurations
  • Audit applications to identify those using affected MuPDF versions (1.23.0 through 1.27.0)
  • Implement input validation to filter potentially malicious documents before MuPDF processing

Patch Information

The vulnerability has been addressed by the MuPDF development team. The fix corrects the memory ownership semantics in the error handling path of fz_fill_pixmap_from_display_list() to ensure the pixmap is not dropped before rethrowing exceptions. The specific commit addressing this vulnerability is available in the MuPDF Git repository. Additional details can be found in the Ghostscript bug report #709029 and the VulnCheck advisory.

Workarounds

  • Disable barcode decoding functionality in MuPDF if not required for business operations
  • Process untrusted documents in sandboxed or containerized environments to limit impact of crashes
  • Implement document scanning and filtering before passing files to MuPDF for processing
  • Use memory protection technologies that can detect and mitigate heap corruption attempts
bash
# Configuration example - Compile MuPDF without barcode decoding support as a temporary workaround
# Check current MuPDF version
mutool -v

# If using MuPDF in application, ensure barcode features are disabled
# or upgrade to patched version when available
# Review build configuration to exclude barcode decoding module
make HAVE_BARCODE=no

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechMupdf

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-415
  • Technical References
  • Ghostscript Bug Report #709029

  • MuPDF Commit Details

  • MuPDF Official Website

  • VulnCheck Advisory for MuPDF
  • Related CVEs
  • CVE-2026-40505: MuPDF mutool XSS Vulnerability

  • CVE-2026-3308: Artifex MuPDF RCE Vulnerability

  • CVE-2025-15569: Artifex MuPDF Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English