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-2025-15059

CVE-2025-15059: GIMP PSP File Parsing RCE Vulnerability

CVE-2025-15059 is a heap-based buffer overflow vulnerability in GIMP's PSP file parser that enables remote code execution. Attackers exploit this flaw through malicious PSP files to run arbitrary code.

Published: January 30, 2026

CVE-2025-15059 Overview

CVE-2025-15059 is a heap-based buffer overflow vulnerability in GIMP's PSP (Paint Shop Pro) file parsing functionality. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability—the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of PSP files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

Critical Impact

Successful exploitation enables remote code execution with the privileges of the current user. Attackers can achieve full system compromise if users open maliciously crafted PSP files.

Affected Products

  • GIMP (GNU Image Manipulation Program)
  • Systems with GIMP installations capable of parsing PSP file formats
  • Any application or plugin utilizing GIMP's PSP file parsing libraries

Discovery Timeline

  • 2026-01-23 - CVE-2025-15059 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2025-15059

Vulnerability Analysis

This vulnerability is classified as CWE-122 (Heap-based Buffer Overflow). The flaw resides in GIMP's PSP file parsing component, where insufficient validation of user-supplied data length allows attackers to overflow a heap-based buffer. When a user opens a specially crafted PSP file, the parser fails to properly validate the size of certain data fields before copying them into memory buffers allocated on the heap.

The attack requires local access (typically through a malicious file) and user interaction to trigger. Once exploited, an attacker gains the ability to execute arbitrary code with the same privileges as the GIMP process, potentially leading to complete system compromise, data theft, or further lateral movement within the network.

Root Cause

The root cause of CVE-2025-15059 is improper input validation in the PSP file parsing routines. Specifically, the parser does not adequately verify that the length of user-supplied data fields within PSP files fits within the bounds of allocated heap buffers before performing copy operations. This allows a maliciously crafted PSP file to specify data lengths that exceed buffer boundaries, triggering a heap overflow condition.

Attack Vector

The attack vector requires local access through a malicious file. An attacker would craft a malicious PSP file containing oversized or specially structured data fields designed to trigger the buffer overflow. The attack can be delivered through several methods:

  1. Email attachments - Sending malicious PSP files as attachments
  2. Malicious websites - Hosting PSP files that users are tricked into downloading and opening
  3. Compromised file shares - Placing malicious PSP files on shared network locations
  4. Social engineering - Convincing users to open malicious files through various deception techniques

When the victim opens the malicious PSP file in GIMP, the heap overflow is triggered, allowing the attacker to potentially overwrite critical heap metadata or function pointers, ultimately achieving code execution.

The vulnerability was tracked as ZDI-CAN-28232 by the Zero Day Initiative. For technical details about the patch, refer to the GNOME GIMP Commit Update.

Detection Methods for CVE-2025-15059

Indicators of Compromise

  • Presence of malformed or unusually large PSP files in user download directories or email attachments
  • GIMP process crashes or abnormal termination events, particularly when opening PSP files
  • Unexpected child processes spawned by GIMP or unusual network connections originating from the GIMP process
  • Memory access violations or heap corruption errors logged in system event logs

Detection Strategies

  • Monitor file access patterns for PSP files being opened from untrusted locations such as email attachments, temporary internet folders, or downloads
  • Implement endpoint detection rules to alert on GIMP spawning unexpected child processes or shell commands
  • Deploy file-based detection signatures for malformed PSP files with anomalous header or data field sizes
  • Use behavior-based detection to identify heap spray techniques or memory manipulation attempts during PSP file processing

Monitoring Recommendations

  • Enable detailed logging for GIMP and related image processing applications
  • Monitor for unusual file access patterns involving .psp file extensions from external sources
  • Implement alerting on process behavior anomalies when GIMP is running, particularly unexpected network activity or process creation
  • Review crash dumps and application error logs for heap corruption indicators associated with PSP file parsing

How to Mitigate CVE-2025-15059

Immediate Actions Required

  • Apply the official patch from GNOME immediately by updating GIMP to the latest patched version
  • Warn users not to open PSP files from untrusted or unknown sources until patches are applied
  • Consider temporarily blocking or quarantining PSP file attachments at the email gateway level
  • Ensure endpoint protection solutions are updated with the latest detection signatures

Patch Information

GNOME has released a security patch to address this vulnerability. The fix is available in commit 03575ac8cbb0ef3103b0a15d6598475088dcc15e. Organizations should update GIMP installations to the latest version that incorporates this fix. For detailed patch information, refer to the GNOME GIMP Commit Update and the Zero Day Initiative Advisory ZDI-25-1196.

Workarounds

  • Disable or restrict PSP file format support in GIMP if not required for business operations
  • Implement application whitelisting to prevent GIMP from executing in high-risk environments until patched
  • Use file type filtering at network boundaries to block or quarantine .psp files from external sources
  • Run GIMP in a sandboxed environment or container to limit the impact of potential exploitation
bash
# Example: Block PSP files at the mail gateway level (Postfix example)
# Add to /etc/postfix/mime_header_checks
/name=".*\.psp"/ REJECT PSP files blocked due to CVE-2025-15059

# Reload Postfix configuration
postfix reload

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGimp

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • GNOME GIMP Commit Update

  • Zero Day Initiative Advisory ZDI-25-1196
  • Related CVEs
  • CVE-2026-0797: GIMP ICO File Parsing RCE Vulnerability

  • CVE-2026-2044: GIMP PGM File Parsing RCE Vulnerability

  • CVE-2026-2045: GIMP XWD File Parsing RCE Vulnerability

  • CVE-2026-2047: GIMP ICNS File Parsing RCE 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