Critical Security Flaw in GIMP: Heap Buffer Overflow and Integer Overflow Vulnerabilities

gimp Updated 06 Aug 2026

Summary

05/08/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:50817: Important: gimp security update. Affects gimp versions < 2:3.0.4-4.el9_8.9. Fixed in 2:3.0.4-4.el9_8.9. 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 Your last release was probably never penetration tested 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 editing software that provides a comprehensive suite of tools for image manipulation, including support for layers, effects, and multi-level undo. It is widely used for tasks ranging from simple photo editing to complex graphic design. However, recent vulnerabilities have been identified that could compromise the security of users' systems.

Vulnerability Detail

The vulnerabilities in GIMP stem from multiple issues: a heap-buffer-overflow in the APNG loader when the fcTL width exceeds the IHDR width (CVE-2026-42169), an integer overflow in the file-fits plugin leading to a heap-based buffer overflow on crafted FITS images (CVE-2026-66758), and an out-of-bounds read in the file-icns plugin that can cause information disclosure or crashes on crafted ICNS images (CVE-2026-66759). These vulnerabilities can lead to severe consequences, including system crashes, unauthorized access to sensitive information, and potential exploitation by malicious actors.

How To Fix

Minimum fixed version

2:3.0.4-4.el9_8.9

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 or crafted images in GIMP until the update has been applied. This can help mitigate the risk of exploitation through these vulnerabilities.

Conclusion

The recent vulnerabilities in GIMP pose significant risks to users, including potential crashes and unauthorized access to sensitive information. It is crucial for users to update to the latest patched version to ensure their systems remain secure. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for gimp →

Share this vulnerability

FAQ

GIMP is an open-source image manipulation program that provides a wide range of tools for editing and composing images.

The vulnerabilities include a heap-buffer-overflow, an integer overflow leading to a buffer overflow, and an out-of-bounds read that can cause crashes or information disclosure.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

If you cannot update GIMP right away, avoid opening untrusted images to reduce the risk of exploitation.

More details can be found on the CVE pages for CVE-2026-42169, CVE-2026-66758, and CVE-2026-66759.

Related vulnerabilities

Recent vulnerabilities recorded for gimp.

How To Fix

Minimum fixed version

2:3.0.4-4.el9_8.9

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