CVE-2026-11526

GD versions before 2.86 for Perl allow OS command injection and file overwrite via a 2-arg open() of filename arguments in _make_filehandle

CVE-2026-11526 is fixed in 4 products on 1 platform, first by libgd-perl 2.84-2ubuntu0.1, released June 14, 2026. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
9.8
Moderate
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0135
71st percentile

GD versions before 2.86 for Perl allow OS command injection and file overwrite via a 2-arg open() of filename arguments in _make_filehandle. GD::Image::_make_filehandle opens a filename argument with Perl's 2-arg open(), so a filename that begins or ends with a pipe ("| cmd", "cmd |") or begins with a redirect ("> path", ">> path") is run as a command or redirect rather than opened as a file. _make_filehandle is the single open path behind every filename-accepting constructor (new, newFromPng, newFromJpeg, and the rest); the in-memory *Data variants do not open a path and are unaffected. Any caller that forwards untrusted input to one of these constructors as a pathname can run an arbitrary command or truncate a file under the process UID.

Where it's fixed

ProductFixed inFixReleased
Linux
libgd-perl · Debian 12.15 (bookworm) 2.76-4+deb12u1 DEBIAN-CVE-2026-11526 Jun 24, 2026
libgd-perl · Debian 13.5 (trixie) 2.78-1+deb13u1 DEBIAN-CVE-2026-11526 Jun 24, 2026
libgd-perl · Debian 14 2.84-3 DEBIAN-CVE-2026-11526 Jun 24, 2026
libgd-perl · Ubuntu 22.04.1 LTS (jammy) 2.76-2ubuntu0.1 libgd-perl 2.76-2ubuntu0.1 Jul 3, 2026
libgd-perl · Ubuntu 24.04.5 LTS (noble) 2.78-1ubuntu0.24.04.1 libgd-perl 2.78-1ubuntu0.24.04.1 Jul 3, 2026
libgd-perl · Ubuntu 25.10 (questing) 2.78-1ubuntu0.25.10.1 libgd-perl 2.78-1ubuntu0.25.10.1 Jul 3, 2026
libgd-perl · Ubuntu 26.04.1 LTS (resolute) 2.84-2ubuntu0.1 libgd-perl 2.84-2ubuntu0.1 Jun 14, 2026
perl-GD · amzn 2023 2.80-1.amzn2023.0.3 ALAS2023-2026-1890 Jun 22, 2026
perl-GD-debuginfo · amzn 2023 2.80-1.amzn2023.0.3 ALAS2023-2026-1890 Jun 22, 2026
perl-GD-debugsource · amzn 2023 2.80-1.amzn2023.0.3 ALAS2023-2026-1890 Jun 22, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.