Critical Security Flaw in GIMP: Heap-Based Buffer Overflow Vulnerability

gimp Updated 24 Feb 2026

Summary

16/02/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:2707: Important: gimp security update. Affects gimp versions < 2:3.0.4-1.el9_7.3. Fixed in 2:3.0.4-1.el9_7.3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

GIMP (GNU Image Manipulation Program) is a powerful open-source image composition and editing tool widely used for tasks such as photo retouching, image editing, and graphic design. It features a comprehensive toolbox that includes layers, effects, and multi-level undo capabilities. However, a recent vulnerability has been identified that could potentially compromise the security of users' systems when handling specific file types.

Vulnerability Detail

The vulnerability, identified as CVE-2025-15059, is a heap-based buffer overflow that occurs when GIMP processes specially crafted PSP files. This flaw can lead to arbitrary code execution, allowing attackers to manipulate the application and potentially gain unauthorized access to the system. The risk is particularly significant as it can be exploited through malicious files, making it crucial for users to update their software promptly.

How To Fix

Minimum fixed version

2:3.0.4-1.el9_7.3

This is the first release that contains the fix.

sudo dnf update gimp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users are advised to avoid opening PSP files from untrusted sources until the software is updated. Additionally, consider using alternative image formats that do not trigger this vulnerability.

Conclusion

The heap-based buffer overflow vulnerability in GIMP poses a significant security risk, particularly when handling PSP files. Users are strongly encouraged to update their software to the latest patched version to mitigate this risk. By staying informed and proactive, users can protect their systems from potential exploits.

See every vulnerability recorded for gimp →

Share this vulnerability

FAQ

The vulnerability is a heap-based buffer overflow that can be exploited through specially crafted PSP files.

If you are using a version prior to 2:3.0.4-1.el9_7.3, your installation is vulnerable.

Avoid opening PSP files from untrusted sources and consider using alternative image formats.

Detailed information can be found on the CVE page for CVE-2025-15059.

Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just a manifest file like package-lock.json, without requiring code access.

Related vulnerabilities

Recent vulnerabilities recorded for gimp.

How To Fix

Minimum fixed version

2:3.0.4-1.el9_7.3

This is the first release that contains the fix.

sudo dnf update gimp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback