Since version 3.2.8 of November 2, the GIMP team has closed several security vulnerabilities in the source code that trigger memory errors when opening image files. A version with these fixes had not yet been released as of November 29, because the download page still listed 3.2.8 as the current stable version for Windows, macOS and Linux.
Affected formats include XCF, PSD and JPEG, that is, formats in which templates, drafts and photos reach you. Since November 18, five of the bugs have been assigned a CVE identifier, a globally unique number under which security vulnerabilities are tracked. The Linux vendor Red Hat rates four of them at 7.8 out of 10 points, meaning high severity.
Which files trigger the bugs?
The bugs only occur when opening deliberately manipulated files, and the trigger is located in a different place for XCF, PSD and JPEG.
Three formats, three triggers
Bugs in GIMP 3.2.8, according to CVE entries and the project's bug database
FormatIn the manipulated file
- XCF"Levels" filter with invalid color channel
- PSDLab color mode with transparency, but without a fourth channel
- JPEGBlock with additional data of invalid length
As of November 29: fixed in the source code, but not yet in any new version
Sources: CVE entries, GIMP bug database
In XCF files, a non-destructive "Levels" filter with an invalid color channel is enough to make GIMP write beyond the intended memory area. According to the CVE entry for the filter, the program can crash or execute foreign code in the process. The report in the bug database lists the 3.0 and 3.2 version series up to and including 3.2.8 as affected for XCF files. However, the discoverer only demonstrated the bug with his own test program and assessed the danger in his report as lower than Red Hat did later.
With JPEG, GIMP 3.2.8 does not check the length of a block with additional data, so a manipulated file can overwrite working memory. The report on the JPEG bug lists versions 3.2.0, 3.2.4, 3.2.6 and 3.2.8. In the US vulnerability database NVD, there was still no entry for this bug on November 29.
A PSD file in Lab color mode triggers the third bug if, according to its file information, it contains transparency but the fourth channel required for it is missing. The entry on the PSD vulnerability lists a crash or the execution of foreign code as possible consequences. Two further identifiers concern the rarer formats JIF and XMC. The fifth is rated lower at 5.5 points: when opening a manipulated XCF file, remnants from working memory can end up in the pixels of a layer.
When is the update coming?
The project has not yet entered a date for GIMP 3.2.10 in its bug database. The team merged the changes for the "Levels" filter, for PSD and for JPEG between November 23 and 26 into the development branch of the 3.2 series, that is, into the source code from which the next versions of this series are built.
GIMP 3.2.8 already received security fixes in addition to 82 fixed bugs. The vulnerabilities mentioned here were only reported afterwards, and none of the five identifiers was in the list of demonstrably exploited vulnerabilities of the US agency CISA on November 29.
What this means for your image files
Until the update, it is best to open XCF and PSD files in GIMP only from sources you trust. Red Hat explicitly advises this caution for both formats in its entries, and it is just as sensible for JPEG. Templates from forums or from unknown download sites are better opened only after the update.
Also, do not load foreign files into the "Levels" dialog via "Import Current Settings from File", because according to the report the bug is also present there in version 2.10. It's best to install GIMP 3.2.10 or newer right away as soon as the download page offers such a version.
For GIMP from your Linux distribution's package sources, fixes arrive via its updates. Debian still listed the "Levels" vulnerability as open in all listed Debian versions on November 29. According to its configuration file, the Flatpak package on the Linux platform Flathub is also still built from the source code of version 3.2.8.
Red Hat published the CVE entry for the "Levels" filter on November 27, 2026.
Sources