CVE-2026-11526 json
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
published 2026-06-14 4 mo ago modified 2026-07-23 3 mo ago also EUVD-2026-36659
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- RURBAN GD 2.86
- libgd-perl Debian 12 2.76-4+deb12u1
- libgd-perl Debian 13 2.78-1+deb13u1
- libgd-perl Debian 14 2.84-3
debian advisories DEBIAN-CVE-2026-11526
- libgd-perl Ubuntu 22.04 LTS 2.76-2ubuntu0.1
- libgd-perl Ubuntu 24.04 LTS 2.78-1ubuntu0.24.04.1
- libgd-perl Ubuntu 25.10 2.78-1ubuntu0.25.10.1
- libgd-perl Ubuntu 26.04 LTS 2.84-2ubuntu0.1
ubuntu advisories UBUNTU-CVE-2026-11526
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perl-GD RHEL 7 ELS 2.49-3.el7_9.1
red hat advisories RHSA-2026:49758
- perl-GD openSUSE Tumbleweed 2.860.0-1.1
opensuse advisories openSUSE-SU-2026:11017-1
- perl-gd Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 2.86-r0
alpine advisories ALPINE-CVE-2026-11526
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-11526 updated cvss 9.8
perl-GD: perl-GD: Arbitrary command execution and file overwrite via crafted filenames
-
Red Hat Enterprise Linux 6 perl-GD 2.44-3.el6affected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux Server (v. 7 ELS) perl-GD 2.49-3.el7_9.1fixed: vendor fix RHSA-2026:49758
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- RURBAN GD
Classification
References
Sources
- CVE List CVE-2026-11526
- NVD CVE-2026-11526
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.