A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-59933

CVE-2025-59933: Libvips Buffer Overflow Vulnerability

CVE-2025-59933 is a buffer read overflow flaw in Libvips that affects the pdfload operation when parsing malformed PDF files. This article covers technical details, affected versions, security impact, and mitigation steps.

Published: May 26, 2026

CVE-2025-59933 Overview

CVE-2025-59933 is a buffer read overflow vulnerability in libvips, a demand-driven, horizontally threaded image processing library. The flaw affects versions 8.17.1 and below when libvips is compiled with PDF input support via poppler. The pdfload operation reads beyond allocated memory when parsing the header of a crafted PDF containing a page that defines a width but omits a height. Builds compiled without PDF support or using PDFium for PDF input are unaffected. The issue is fixed in libvips 8.17.2.

Critical Impact

A crafted PDF processed by pdfload can trigger an out-of-bounds read [CWE-126] that leaks adjacent memory contents or causes process termination, impacting any service that ingests untrusted PDFs through libvips with poppler.

Affected Products

  • libvips versions 8.17.1 and earlier (when compiled with poppler PDF support)
  • Applications and services embedding libvips for PDF rendering via VipsForeignLoadPdf
  • Image processing pipelines that accept untrusted PDF uploads

Discovery Timeline

  • 2025-09-29 - CVE-2025-59933 published to NVD
  • 2025-12-24 - Last updated in NVD database

Technical Details for CVE-2025-59933

Vulnerability Analysis

The vulnerability resides in the libvips poppler PDF loader, invoked through the pdfload operation. When libvips parses page metadata from a PDF, it expects both width and height dimensions to be present and validated. A crafted PDF that declares a page width but omits the page height causes the loader to read memory past the boundary of the parsed header buffer. This is classified as a buffer read overflow [CWE-126].

The issue is constrained to builds linked against poppler. The alternative PDFium-based loader (pdfiumload) is not affected because it performs independent size validation. Successful exploitation requires the attacker to supply or coerce processing of a malicious PDF, which is a realistic vector for web services that accept PDF uploads for thumbnailing, conversion, or rasterization.

Root Cause

The root cause is missing validation of poppler page geometry before downstream consumers operate on the loaded page. The upstream fix adds a sanity check on the loaded VipsObject and validates the page size returned by poppler and the SVG loader. Without this check, a NULL or zero-initialized height combined with a non-zero width drives buffer math that exceeds the source region.

Attack Vector

Exploitation requires the target application to invoke pdfload on attacker-controlled PDF content. The CVSS vector indicates a local attack vector with low complexity and no privileges or user interaction beyond submitting the file. In typical deployments (image processing workers, document conversion services), an attacker uploads a crafted PDF that defines a page width without a height, triggering the out-of-bounds read during header parsing.

c
		 * If the load fails, we need to stop.
		 */
		if (class->load(load) ||
+			!vips_object_sanity(VIPS_OBJECT(load->real)) ||
			vips_image_pio_input(load->real) ||
			!vips_foreign_load_iscompat(load->real, out)) {
			vips_operation_invalidate(VIPS_OPERATION(load));

Source: libvips commit a58bfae — the patch inserts vips_object_sanity() into the foreign loader path so malformed page geometry from poppler or SVG is rejected before further processing.

Detection Methods for CVE-2025-59933

Indicators of Compromise

  • Crashes or abnormal terminations in worker processes that invoke libvips pdfload on user-supplied PDFs
  • PDF files containing page objects with a defined /MediaBox width but missing or zero height values
  • Unexpected memory contents appearing in rendered output thumbnails or conversion artifacts from PDF inputs

Detection Strategies

  • Inventory all hosts and containers running libvips and identify whether builds link against poppler (vips --vips-config reports enabled loaders)
  • Flag any libvips installation reporting a version at or below 8.17.1 with poppler PDF support enabled
  • Inspect PDF intake pipelines for files whose page dictionary defines width without a matching height

Monitoring Recommendations

  • Monitor image and document processing workers for segmentation faults, ASan reports, or unexpected exits correlated with PDF inputs
  • Log invocations of VipsForeignLoadPdf and alert on processing failures originating from pdfload
  • Track outbound responses from conversion services for anomalously sized or partially rendered PDF outputs that may indicate memory disclosure

How to Mitigate CVE-2025-59933

Immediate Actions Required

  • Upgrade libvips to version 8.17.2 or later on all affected systems
  • For environments that cannot patch immediately, block the VipsForeignLoadPdf operation via vips_operation_block_set in the host application
  • Alternatively, set the VIPS_BLOCK_UNTRUSTED environment variable at runtime to disable all untrusted loaders, including poppler PDF input
  • Rebuild libvips against PDFium instead of poppler if PDF support is required and patching is delayed

Patch Information

The fix is included in libvips 8.17.2. The relevant upstream change validates poppler and SVG page sizes and adds a sanity check on loaded foreign objects. See the libvips 8.17.2 release notes, the GHSA-q8px-4w5q-c2r4 advisory, and the upstream patch commit.

text
 8.17.2

- rank: fix an off-by-one error [larsmaxfield]
+- popplerload, svgload: validate page size [Yang Luo]
- pdfiumload: allow both dpi and scale to be set [kleisauke]

7/7/25 8.17.1

Source: libvips ChangeLog

Workarounds

  • Set VIPS_BLOCK_UNTRUSTED=1 in the runtime environment of any service invoking libvips on user-supplied content
  • Call vips_operation_block_set("VipsForeignLoadPdf", TRUE) during application initialization to disable the poppler PDF loader
  • Reject PDF uploads at the application boundary until the libvips dependency is updated to 8.17.2 or later
bash
# Disable all untrusted libvips loaders, including poppler PDF input
export VIPS_BLOCK_UNTRUSTED=1

# Verify libvips version and enabled loaders
vips --version
vips --vips-config | grep -i pdf

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLibvips

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-126
  • Technical References
  • GitHub Release v8.17.2

  • Vicarius CVE-2025-59933 Detection

  • Vicarius CVE-2025-59933 Mitigation
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-q8px-4w5q-c2r4
  • Related CVEs
  • CVE-2026-6491: libvips Buffer Overflow Vulnerability

  • CVE-2026-3145: Libvips Buffer Overflow Vulnerability

  • CVE-2026-3147: Libvips Buffer Overflow Vulnerability

  • CVE-2026-2913: Libvips Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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