The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-22695

CVE-2026-22695: LIBPNG Buffer Overflow Vulnerability

CVE-2026-22695 is a heap buffer over-read flaw in LIBPNG affecting versions 1.6.51 to 1.6.53 during interlaced PNG processing. This article covers the technical details, affected versions, impact, and mitigation steps.

Updated: January 22, 2026

CVE-2026-22695 Overview

CVE-2026-22695 is an Out-of-Bounds Read vulnerability affecting libpng, the reference library used by applications to read, create, and manipulate PNG (Portable Network Graphics) raster image files. The vulnerability exists in versions 1.6.51 through 1.6.53 and manifests as a heap buffer over-read in the simplified API function png_image_finish_read when processing interlaced 16-bit PNG files with 8-bit output format and non-minimal row stride. This issue is a regression introduced by the fix for CVE-2025-65018.

Critical Impact

Processing maliciously crafted PNG files could lead to information disclosure from heap memory or cause application crashes through denial of service.

Affected Products

  • libpng version 1.6.51
  • libpng version 1.6.52
  • libpng version 1.6.53

Discovery Timeline

  • 2026-01-12 - CVE-2026-22695 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2026-22695

Vulnerability Analysis

The vulnerability resides in the png_image_finish_read function within libpng's simplified API. When the library processes interlaced 16-bit PNG images with an 8-bit output format configured alongside a non-minimal row stride, the function fails to properly validate buffer boundaries during the image conversion process. This results in a heap buffer over-read condition where memory beyond the allocated buffer is accessed.

The vulnerability was inadvertently introduced as a regression when developers patched CVE-2025-65018. The fix for the previous vulnerability modified memory handling logic in a way that created an edge case affecting specific combinations of input parameters: interlaced images, 16-bit source depth, 8-bit output depth, and non-standard row stride configurations.

Root Cause

The root cause is improper bounds checking (CWE-125: Out-of-bounds Read) in the image processing pipeline when handling the specific combination of interlaced 16-bit PNG files converted to 8-bit output with non-minimal row stride. The regression in the CVE-2025-65018 fix altered the buffer size calculations without accounting for all potential stride configurations, leading to read operations that extend past the allocated heap buffer.

Attack Vector

The attack vector is local, requiring user interaction to open a maliciously crafted PNG file. An attacker would need to create a specially crafted interlaced 16-bit PNG file designed to trigger the vulnerable code path. When a victim opens this file using an application linked against the vulnerable libpng versions, the heap buffer over-read occurs. The exploitation scenario could include:

  • Embedding malicious PNG files in documents or web pages
  • Sending crafted images via email or messaging platforms
  • Hosting malicious images on websites visited by potential victims

The vulnerability could result in information disclosure if sensitive data exists in adjacent heap memory, or cause denial of service through application crashes.

Detection Methods for CVE-2026-22695

Indicators of Compromise

  • Unexpected application crashes when processing PNG image files
  • Memory access violations or segmentation faults in applications using libpng
  • Anomalous behavior when handling interlaced 16-bit PNG images
  • Evidence of malformed PNG files with unusual interlacing and bit depth combinations

Detection Strategies

  • Monitor applications for crashes or memory violations when processing PNG files
  • Implement file integrity monitoring for PNG images in untrusted locations
  • Use memory sanitizers (AddressSanitizer, Valgrind) during testing to detect out-of-bounds reads
  • Audit libpng version strings in application dependencies to identify vulnerable installations

Monitoring Recommendations

  • Enable crash reporting mechanisms to capture stack traces involving png_image_finish_read
  • Monitor system logs for segmentation fault signals in PNG-processing applications
  • Implement automated dependency scanning to track libpng versions across your environment

How to Mitigate CVE-2026-22695

Immediate Actions Required

  • Update libpng to version 1.6.54 or later immediately
  • Identify all applications and systems using libpng versions 1.6.51 through 1.6.53
  • Rebuild applications that statically link against vulnerable libpng versions
  • Exercise caution when opening PNG files from untrusted sources until patched

Patch Information

The vulnerability is fixed in libpng version 1.6.54. The fix addresses the buffer boundary calculation issue in the png_image_finish_read function. Detailed patch information is available through the GitHub Security Advisory and the relevant commits: commit 218612ddd6b17944e21eda56caf8b4bf7779d1ea and commit e4f7ad4ea2. Additional technical discussion is available in the GitHub Issue #778.

Workarounds

  • Avoid processing untrusted PNG files until the library is updated
  • If possible, configure applications to reject interlaced 16-bit PNG files temporarily
  • Implement input validation to filter PNG files with specific characteristics before processing
  • Use sandboxed environments for processing images from untrusted sources
bash
# Verify installed libpng version
pkg-config --modversion libpng

# Update libpng on Debian/Ubuntu systems
sudo apt update && sudo apt install 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
  • TypeBuffer Overflow

  • Vendor/TechLibpng

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/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
  • GitHub Commit Update

  • GitHub Commit Change

  • GitHub Issue Discussion

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33636: LIBPNG Buffer Overflow Vulnerability

  • CVE-2026-3713: libpng Buffer Overflow Vulnerability

  • CVE-2026-25646: LIBPNG Buffer Overflow Vulnerability

  • CVE-2026-22801: LIBPNG Buffer Overflow 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