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-66293

CVE-2025-66293: Libpng Information Disclosure Flaw

CVE-2025-66293 is an information disclosure vulnerability in Libpng caused by an out-of-bounds read in the simplified API. This flaw affects versions prior to 1.6.52. This article covers technical details, impact, and mitigation.

Published: April 1, 2026

CVE-2025-66293 Overview

CVE-2025-66293 is an out-of-bounds read vulnerability affecting libpng, the reference library for reading, creating, and manipulating PNG (Portable Network Graphics) raster image files. Prior to version 1.6.52, the library's simplified API contains a flaw that allows reading up to 1012 bytes beyond the png_sRGB_base[512] array when processing valid palette PNG images with partial transparency and gamma correction.

Notably, the PNG files that trigger this vulnerability are valid per the PNG specification—the bug originates from libpng's internal state management rather than malformed input. This makes detection more challenging as standard input validation would not flag the triggering files as suspicious.

Critical Impact

This out-of-bounds read vulnerability can lead to information disclosure of up to 1012 bytes of memory contents and potential denial of service through application crashes when processing specially crafted but valid PNG images.

Affected Products

  • libpng versions prior to 1.6.52
  • Applications using libpng's simplified API for PNG processing
  • Systems processing PNG images with palette formats, partial transparency, and gamma correction

Discovery Timeline

  • 2025-12-03 - CVE-2025-66293 published to NVD
  • 2025-12-16 - Last updated in NVD database

Technical Details for CVE-2025-66293

Vulnerability Analysis

This vulnerability is classified as CWE-125 (Out-of-bounds Read), a memory corruption issue that occurs when libpng processes palette PNG images under specific conditions. The vulnerable code path is triggered when three conditions are met simultaneously: the image uses a palette format, it contains partial transparency (alpha channel), and gamma correction is enabled.

When these conditions align, libpng's simplified API fails to properly validate array boundaries during internal state management, allowing read operations to extend 1012 bytes beyond the allocated png_sRGB_base[512] array. This can result in exposure of adjacent memory contents or application crashes if unmapped memory is accessed.

The network-based attack vector means exploitation requires convincing a victim to process a malicious PNG file, either through direct file opening or rendering within an application that uses libpng.

Root Cause

The root cause lies in libpng's internal state management within the simplified API. When handling palette PNG images with both partial transparency and gamma correction enabled, the library incorrectly calculates array bounds for the png_sRGB_base lookup table. The 512-element array is accessed with indices that can extend up to 1012 bytes beyond its boundaries, indicating an integer overflow or missing bounds check in the index calculation logic.

Attack Vector

The attack vector requires user interaction, as a victim must process a malicious PNG file. However, this is a relatively low bar given the ubiquity of PNG image processing:

  • An attacker crafts a valid PNG image with palette format, partial transparency, and gamma correction metadata
  • The malicious image is delivered to a target through email attachments, web content, or file sharing
  • When the victim's application processes the image using libpng's simplified API, the out-of-bounds read occurs
  • Depending on the memory layout, this can leak sensitive data or crash the application

The vulnerability exploits valid PNG specification features, meaning standard file validation tools would not detect the malicious nature of triggering files.

Detection Methods for CVE-2025-66293

Indicators of Compromise

  • Application crashes during PNG image processing, particularly with palette-based images
  • Memory access violations in processes utilizing libpng
  • Unusual memory patterns in crash dumps showing reads beyond expected array boundaries
  • Error logs indicating segmentation faults in image processing components

Detection Strategies

  • Monitor for crashes in applications known to use libpng, especially when processing PNG images from untrusted sources
  • Implement application-level monitoring for segmentation faults and memory access violations
  • Use memory sanitizers (AddressSanitizer, Valgrind) in development and testing environments to detect out-of-bounds reads
  • Analyze crash reports for stack traces involving libpng's simplified API functions

Monitoring Recommendations

  • Enable crash reporting and analysis for applications processing user-supplied images
  • Monitor system logs for recurring crashes in image processing workflows
  • Implement file integrity monitoring on systems with libpng installations to track version updates
  • Use endpoint detection solutions to identify unusual memory access patterns during PNG processing

How to Mitigate CVE-2025-66293

Immediate Actions Required

  • Upgrade libpng to version 1.6.52 or later immediately
  • Identify all applications and systems using vulnerable libpng versions
  • Restrict processing of PNG images from untrusted sources until patches are applied
  • Consider implementing additional input validation layers as defense-in-depth

Patch Information

The libpng development team has released version 1.6.52 to address this vulnerability. Security patches are available through the official libpng GitHub repository:

  • Security Advisory GHSA-9mpm-9pxh-mg4f
  • Primary fix commit
  • Additional fix commit
  • Issue tracking report

Organizations should prioritize updating libpng in all deployments and ensure statically linked applications are recompiled against the patched library version.

Workarounds

  • Disable or avoid using libpng's simplified API if possible, opting for the low-level API with explicit bounds checking
  • Implement strict input validation to filter PNG images with specific combinations of palette format, partial transparency, and gamma correction
  • Deploy applications processing untrusted images in sandboxed environments to limit potential impact
  • Consider using alternative PNG libraries temporarily while patches are deployed
bash
# Verify installed libpng version
pkg-config --modversion libpng

# Check for vulnerable library installations
find /usr -name "libpng*.so*" -exec file {} \;

# Update libpng on Debian/Ubuntu systems
sudo apt update && sudo apt install --only-upgrade libpng16-16

# Update libpng on RHEL/CentOS systems
sudo yum update libpng

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLibpng

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-125
  • Technical References
  • OpenWall OSS-Security Post

  • OpenWall OSS-Security Post

  • OpenWall OSS-Security Post
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Issue Report

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-34757: LIBPNG Use-After-Free Vulnerability

  • CVE-2026-33636: LIBPNG Buffer Overflow Vulnerability

  • CVE-2026-33416: LIBPNG Use-After-Free Vulnerability

  • CVE-2026-3713: libpng 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