A vulnerability has been discovered in GIMP, which can lead to execution of arbitrary code.
| Package | media-gfx/gimp on all architectures |
|---|---|
| Affected versions | < 2.10.38-r3 < 3.0.6 |
| Unaffected versions | >= 2.10.38-r3 >= 3.0.6 |
GIMP is the GNU Image Manipulation Program. XCF is the native image file format used by GIMP.
A vulnerability has been discovered in GIMP. Please review the CVE identifier referenced below for details.
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.
There is no known workaround at this time.
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*"
Release date
January 26, 2026
Latest revision
January 26, 2026: 1
Severity
high
Exploitable
local
Bugzilla entries