CVE-2026-2239
published 2026-03-26CVE-2026-2239: A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop…
PriorityP430medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
0.48%
38.6th percentile
A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gimp | < gimp 2.10.34-1+deb12u8 (bookworm) | gimp 2.10.34-1+deb12u8 (bookworm) |
| gimp | gimp | — | — |
| gimp | gimp | >= 0 < 2.10.22-4+deb11u6 | 2.10.22-4+deb11u6 |
| gimp | gimp | >= 0 < 2.10.34-1+deb12u8 | 2.10.34-1+deb12u8 |
| gimp | gimp | >= 0 < 3.0.4-3+deb13u6 | 3.0.4-3+deb13u6 |
| gimp | gimp | >= 0 < 3.2.0~RC2-3.2 | 3.2.0~RC2-3.2 |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_debian2.8LOW
vendor_redhat2.8LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-pjv8-58qr-6mxx: A flaw was found in GIMP
ghsa_unreviewed·2026-03-26
CVE-2026-2239 [LOW] CWE-170 GHSA-pjv8-58qr-6mxx: A flaw was found in GIMP
A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.
OSV
CVE-2026-2239: A flaw was found in GIMP
osv·2026-03-26·CVSS 6.5
CVE-2026-2239 [MEDIUM] CVE-2026-2239: A flaw was found in GIMP
A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.
Red Hat
gimp: GIMP: Application crash (DoS) via crafted PSD file due to heap-buffer-overflow
vendor_redhat·2026-02-09·CVSS 2.8
CVE-2026-2239 [LOW] CWE-170 gimp: GIMP: Application crash (DoS) via crafted PSD file due to heap-buffer-overflow
gimp: GIMP: Application crash (DoS) via crafted PSD file due to heap-buffer-overflow
A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.
A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not proper
Debian
CVE-2026-2239: gimp - A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread...
vendor_debian·2026·CVSS 2.8
CVE-2026-2239 [LOW] CVE-2026-2239: gimp - A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread...
A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.
Scope: local
bookworm: resolved (fixed in 2.10.34-1+deb12u8)
bullseye: resolved (fixed in 2.10.22-4+deb11u6)
forky: resolved (fixed in 3.2.0~RC2-3.2)
sid: resolved (fixed in 3.2.0~RC2-3.2)
trixie: resolved (fixed in 3.0.4-3+deb13u6)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-2239 gimp: GIMP: Application crash (DoS) via crafted PSD file due to heap-buffer-overflow
bugzilla·2026-02-09·CVSS 6.5
CVE-2026-2239 [MEDIUM] CVE-2026-2239 gimp: GIMP: Application crash (DoS) via crafted PSD file due to heap-buffer-overflow
CVE-2026-2239 gimp: GIMP: Application crash (DoS) via crafted PSD file due to heap-buffer-overflow
Description of the bug
In plug-ins/file-psd/psd-util.c, the function fread_pascal_string() allocates a buffer with g_malloc(len) at line 277 and reads len bytes from the file into it. The buffer is not null-terminated. It is then passed to gimp_any_to_utf8(str, len, NULL) at line 302. Downstream (e.g. in code that treats the result as a C string, or in a stub that calls g_strdup()), strlen() is used on memory that is not guaranteed to be null-terminated. For a crafted PSD where the pascal string has length 14 and the 14 bytes do not contain a null, strlen() reads past the end of the 14-byte region, causing a heap-buffer-overflow (READ of size 15 at address 0 bytes after the 14-byte region).
Wiz
CVE-2026-2239 Impact, Exploitability, and Mitigation Steps | Wiz
blogs_wiz·CVSS 2.8
CVE-2026-2239 [LOW] CVE-2026-2239 Impact, Exploitability, and Mitigation Steps | Wiz
## CVE-2026-2239 :
NixOS vulnerability analysis and mitigation
A flaw was found in GIMP. Heap-buffer-overflow vulnerability exists in the fread_pascal_string function when processing a specially crafted PSD (Photoshop Document) file. This occurs because the buffer allocated for a Pascal string is not properly null-terminated, leading to an out-of-bounds read when strlen() is subsequently called. Successfully exploiting this vulnerability can cause the application to crash, resulting in an application level Denial of Service.
Source : NVD
## 6.5
Score
Published March 26, 2026
Severity MEDIUM
CNA Score 2.8
Affected Technologies
NixOS
Homebrew
Has Public Exploit Yes
Has CISA KEV Exploit No
CISA KEV Release Date N/A
CISA KEV Due Date N/A
Exploitation Probability Percentile (E
2026-03-26
Published