Critical Security Flaws in GIMP: Remote Code Execution and Buffer Overflow Vulnerabilities

gimp Updated 02 Sep 2026

Summary

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

ALSA-2026:62507: Important: gimp:2.8 security update. Affects gimp versions < 2:2.8.22-26.module_el8.10.0+4267+35168c80.8. Fixed in 2:2.8.22-26.module_el8.10.0+4267+35168c80.8. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

GIMP (GNU Image Manipulation Program) is a widely used open-source image editing software that provides a comprehensive toolbox for image manipulation, including features like layers, effects, and multi-level undo. Despite its robust capabilities, GIMP has been found to have several security vulnerabilities that could potentially allow attackers to execute arbitrary code or cause application crashes, particularly when handling specially crafted image files.

Vulnerability Detail

The vulnerabilities in GIMP stem from multiple issues, including stack buffer overflows and integer overflows in various image file parsers. Specifically, the pnmscanner_gettoken() function is susceptible to a stack buffer overflow, while the file-fits plugin can lead to a heap-based buffer overflow when processing crafted FITS images. Additionally, several vulnerabilities related to TIF and PSD file parsing could allow remote code execution, posing significant risks to users who open malicious files.

How To Fix

Minimum fixed version

2:2.8.22-26.module_el8.10.0+4267+35168c80.8

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 measure, avoid opening untrusted image files, especially those in TIF and PSD formats, until the software is updated. Additionally, consider using alternative image editing software that does not have these vulnerabilities.

Conclusion

The identified vulnerabilities in GIMP pose significant risks, particularly through remote code execution and buffer overflow attacks. It is crucial for users to update their software to the latest patched versions to safeguard against these threats. Utilizing tools like Vulert can further enhance security by providing real-time monitoring of vulnerabilities.

See every vulnerability recorded for gimp →

Share this vulnerability

FAQ

The vulnerabilities include stack buffer overflows and integer overflows that can lead to remote code execution when processing malicious image files.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by these vulnerabilities without needing to sign up.

If an immediate update is not possible, refrain from opening any untrusted image files, particularly those in vulnerable formats like TIF and PSD.

Yes, updating to version 2:2.8.22-26.module_el8.10.0+4267+35168c80 or later will mitigate the vulnerabilities.

Vulert is a tool that monitors and alerts users about open-source vulnerabilities in their software by analyzing a manifest file like package-lock.json. It provides real-time alerts for vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for gimp.

How To Fix

Minimum fixed version

2:2.8.22-26.module_el8.10.0+4267+35168c80.8

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