Vulnerability · Published Jun 24, 2026 · Assigned by zdi
CVE-2026-2050GIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability
High 7.8
In plain English
A high-severity heap buffer overflow in GIMP from GIMP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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-28266.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | gegl | 0.2.0-40.el8_10 | ALSA-2026:38485 |
| AlmaLinux:9 | gegl04 | 0.4.62-1.el9_8.1 | ALSA-2026:38497 |
| AlmaLinux:9 | gegl04-devel | 0.4.62-1.el9_8.1 | ALSA-2026:38497 |
| AlmaLinux:9 | gegl04-devel-docs | 0.4.62-1.el9_8.1 | ALSA-2026:38497 |
| AlmaLinux:9 | gegl04-tools | 0.4.62-1.el9_8.1 | ALSA-2026:38497 |
| Debian:12 | gegl | 1:0.4.42-2+deb12u2 | DEBIAN-CVE-2026-2050 |
| Debian:12 | gegl | 1:0.4.42-2+deb12u2 | DSA-6142-1 |
| Debian:13 | gegl | 1:0.4.62-2+deb13u2 | DSA-6142-1 |
| Debian:13 | gegl | 1:0.4.62-2+deb13u2 | DEBIAN-CVE-2026-2050 |
| Debian:14 | gegl | 1:0.4.66-1 | DEBIAN-CVE-2026-2050 |
| Rocky Linux:8 | gegl | 0:0.2.0-40.el8_10 | RLSA-2026:38485 |
| Rocky Linux:9 | gegl04 | 0:0.4.62-1.el9_8.1 | RLSA-2026:38497 |
| Ubuntu:22.04:LTS | gegl | no fix listed | UBUNTU-CVE-2026-2050 |
| Ubuntu:24.04:LTS | gegl | no fix listed | UBUNTU-CVE-2026-2050 |
| Ubuntu:25.10 | gegl | no fix listed | UBUNTU-CVE-2026-2050 |
Affected products (as reported)
Weakness: CWE-122, CWE-131 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- ZDI-26-282 x_research-advisory
- vendor-provided URL vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-2050 vdb-entry, x_refsource_REDHAT
- RHBZ#2492593 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-2050.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:38485 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:64801 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:64803 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:64802 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56982 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56964 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56963 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:38497 vendor-advisory, x_refsource_REDHAT