Description (CNA)
GIMP HDR 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 HDR 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-28618.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| GIMP / GIMP | affected 3.2.0-RC1 |
CWE
CWE-122
References
- https://www.zerodayinitiative.com/advisories/ZDI-26-214/
- https://gitlab.gnome.org/GNOME/gegl/-/issues/450
ADP enrichment
No English description supplied.
No references supplied.
A flaw was found in GIMP. This heap-based buffer overflow vulnerability, located in the HDR file parsing component, allows a remote attacker to execute arbitrary code. User interaction is required for exploitation, as the target must open a malicious HDR file. The flaw occurs due to a lack of proper validation of user-supplied data length before it is copied to a heap-based buffer.