Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-58381 EUVD-2026-41434GHSA-pfjw-r4vx-pmfw

Gimp: gimp: double-free in read_layer_block()

Published Jul 2, 2026 · Updated Nov 5, 2026 · Assigned by redhat

Description

A flaw was found in GIMP's PSP file format parser. A double-free condition occurs in the read_layer_block() function when processing a specially crafted PSP file. This could allow an attacker to cause memory corruption, potentially leading to denial of service or arbitrary code execution.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gimp 3.2.4-1 —
Debian 13 gimp 3.0.4-3+deb13u10 —
Debian 12 gimp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS gimp No fix yet —
Ubuntu 25.10 gimp No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS gimp No fix yet —
Ubuntu Pro 22.04 LTS gimp No fix yet —
Ubuntu Pro 20.04 LTS gimp No fix yet —
Ubuntu Pro 18.04 LTS gimp No fix yet —
Ubuntu Pro 16.04 LTS gimp No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 gimp 2.10.30-150400.3.58.1 SUSE-SU-2026:3399-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 gimp 3.0.8-bp160.5.1 openSUSE-SU-2026:21359-1

Advisories 3

References