Critical Security Update for GIMP: Addressing Stack Buffer Overflow and Integer Overflow Vulnerabilities

gimp Updated 20 Jul 2026

Summary

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

ALSA-2026:40751: Important: gimp security update. Affects gimp versions < 2:3.0.4-4.el9_8.7. Fixed in 2:3.0.4-4.el9_8.7. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 offers a comprehensive toolbox that includes features like layers, effects, and multi-level undo. However, recent vulnerabilities have been identified that could potentially compromise the security of the application, making it crucial for users to stay updated.

Vulnerability Detail

The vulnerabilities in GIMP stem from a stack buffer overflow in the pnmscanner_gettoken() function and an integer overflow in the read_RLE_channel() function. These issues could allow an attacker to execute arbitrary code or cause a denial of service, posing significant risks to users and their data. The vulnerabilities are tracked under CVE-2026-58380 and CVE-2026-58384, respectively.

How To Fix

Minimum fixed version

2:3.0.4-4.el9_8.7

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, users are advised to avoid opening untrusted image files that may exploit these vulnerabilities until the update is applied.

Conclusion

In summary, the recent vulnerabilities in GIMP pose significant security risks that users must address promptly. By updating to the latest patched version, users can protect themselves from potential exploits. Utilizing tools like Vulert can further enhance security by providing real-time monitoring for vulnerabilities.

See every vulnerability recorded for gimp →

Share this vulnerability

FAQ

The vulnerabilities include a stack buffer overflow in pnmscanner_gettoken() and an integer overflow in read_RLE_channel(), which could lead to arbitrary code execution or denial of service.

You can use tools like Vulert, which monitors open-source vulnerabilities in your software. Simply upload your manifest file to check for vulnerabilities.

As a workaround, avoid opening untrusted image files until you can apply the update to mitigate the risk of exploitation.

Detailed information can be found on the CVE pages for CVE-2026-58380 and CVE-2026-58384, which provide insights into the vulnerabilities and their impacts.

Yes, 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 any code access.

Related vulnerabilities

Recent vulnerabilities recorded for gimp.

How To Fix

Minimum fixed version

2:3.0.4-4.el9_8.7

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