GLSA 202601-03: GIMP: Arbitrary Code Execution
| Severity: | high |
| Title: | GIMP: Arbitrary Code Execution |
| Date: | 01/26/2026 |
| Bugs: | |
| ID: | 202601-03 |
Synopsis
A vulnerability has been discovered in GIMP, which can lead to execution of arbitrary code.Background
GIMP is the GNU Image Manipulation Program. XCF is the native image file format used by GIMP.
Affected packages
| Package | Vulnerable | Unaffected | Architecture(s) |
|---|---|---|---|
| media-gfx/gimp | < 2.10.38-r3 | >= 2.10.38-r3 | All supported architectures |
Description
A vulnerability has been discovered in GIMP. Please review the CVE identifier referenced below for details.
Impact
This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of XWD 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.
Workaround
There is no known workaround at this time.
Resolution
All GIMP users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/gimp-3.0.6"
All GIMP 2.x users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/gimp-2.10.38-r3 =media-gfx/gimp-2*"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
Concerns?
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
License
Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.