CVE-2026-4153
Description
GIMP PSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. 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 PSP 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. Was ZDI-CAN-28874.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-11
- Last modified
- 2026-07-15
- Assigned by
- zdi-disclosures@trendmicro.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Scored by
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- Probability of exploitation
-
0.7 %
higher than 48 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Gimp | Gimp | 3.0.8 | Affected |
Weakness type
-
CWE-120: Buffer Copy without Checking Size of Input
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
-
CWE-122: Heap-based Buffer Overflow
The product writes past the end of a buffer that was allocated on the heap.
-
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
References
- https://gitlab.gnome.org/GNOME/gimp/-/commit/98cb1371fd4e22cca75017ea3252dc32fc218712
- https://www.zerodayinitiative.com/advisories/ZDI-26-220/
- https://access.redhat.com/errata/RHSA-2026:16484
- https://access.redhat.com/errata/RHSA-2026:17533
- https://access.redhat.com/errata/RHSA-2026:19362
- https://access.redhat.com/errata/RHSA-2026:20552
- https://access.redhat.com/errata/RHSA-2026:20553
- https://access.redhat.com/errata/RHSA-2026:20554
- https://access.redhat.com/errata/RHSA-2026:20691
- https://access.redhat.com/errata/RHSA-2026:25899
- https://access.redhat.com/errata/RHSA-2026:25901
- https://access.redhat.com/errata/RHSA-2026:25907
- https://access.redhat.com/errata/RHSA-2026:26168
- https://access.redhat.com/security/cve/CVE-2026-4153
- https://bugzilla.redhat.com/show_bug.cgi?id=2457536
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4153.json
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.