
CVE catalog
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. GD::Image::_make_filehandle opens a filename argument with
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.35% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgd-perl | sid | 2.84-3 | fixed |
| Debian | libgd-perl | forky | 2.84-3 | fixed |
| Debian | libgd-perl | trixie | 2.78-1+deb13u1 | fixed |
| Debian | libgd-perl | trixie-security | 2.78-1+deb13u1 | fixed |
| Debian | libgd-perl | bookworm | 2.76-4+deb12u1 | fixed |
| Debian | libgd-perl | bookworm-security | 2.76-4+deb12u1 | fixed |
| Cpe | libgd-perl | Not reported | 2.78-1ubuntu0.24.04.1 | fixed |
| Alpine | perl-gd | 3.21 | 2.86-r0 | fixed |
| Alpine | perl-gd | 3.22 | 2.86-r0 | fixed |
| Alpine | perl-gd | 3.23 | 2.86-r0 | fixed |
| Alpine | perl-gd | 3.24 | 2.86-r0 | fixed |
| Ubuntu | libgd-perl | 22.04 | 2.73-1build2 | vulnerable |
| Ubuntu | libgd-perl | 22.04 | 2.76-2 | vulnerable |
| Ubuntu | libgd-perl | 22.04 | 2.76-2build1 | vulnerable |
| Ubuntu | libgd-perl | 22.04 | 2.76-2ubuntu0.1 | fixed |
| Ubuntu | libgd-perl | 24.04 | 2.76-4build1 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1build1 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1build2 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1build3 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1ubuntu0.24.04.1 | fixed |
| Ubuntu | libgd-perl | 25.10 | 2.78-1build4 | vulnerable |
| Ubuntu | libgd-perl | 25.10 | 2.78-1ubuntu0.25.10.1 | fixed |
| Ubuntu | libgd-perl | 26.04 | 2.78-1build4 | vulnerable |
| Ubuntu | libgd-perl | 26.04 | 2.83-1 | vulnerable |
| Ubuntu | libgd-perl | 26.04 | 2.84-2 | vulnerable |
| Ubuntu | libgd-perl | 26.04 | 2.84-2ubuntu0.1 | fixed |
| Ubuntu | libgd-perl | 16.04 | 2.53-1build1 | vulnerable |
| Ubuntu | libgd-perl | 16.04 | 2.53-2 | vulnerable |
| Ubuntu | libgd-perl | 16.04 | 2.53-2build1 | vulnerable |
| Ubuntu | libgd-perl | 16.04 | 2.53-2.1 | vulnerable |
| Ubuntu | libgd-perl | 18.04 | 2.66-1build1 | vulnerable |
| Ubuntu | libgd-perl | 20.04 | 2.71-2 | vulnerable |
| Ubuntu | libgd-perl | 20.04 | 2.71-2build1 | vulnerable |
| Ubuntu | libgd-perl | 22.04 | 2.73-1build2 | vulnerable |
| Ubuntu | libgd-perl | 22.04 | 2.76-2 | vulnerable |
| Ubuntu | libgd-perl | 22.04 | 2.76-2build1 | vulnerable |
| Ubuntu | libgd-perl | 22.04 | 2.76-2ubuntu0.1 | fixed |
| Ubuntu | libgd-perl | 24.04 | 2.76-4build1 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1build1 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1build2 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1build3 | vulnerable |
| Ubuntu | libgd-perl | 24.04 | 2.78-1ubuntu0.24.04.1 | fixed |
| Ubuntu | libgd-perl | 25.10 | 2.78-1build4 | vulnerable |
| Ubuntu | libgd-perl | 25.10 | 2.78-1ubuntu0.25.10.1 | fixed |
| Ubuntu | libgd-perl | 26.04 | 2.78-1build4 | vulnerable |
| Ubuntu | libgd-perl | 26.04 | 2.83-1 | vulnerable |
| Ubuntu | libgd-perl | 26.04 | 2.84-2 | vulnerable |
| Ubuntu | libgd-perl | 26.04 | 2.84-2ubuntu0.1 | fixed |
| Opensuse | perl-GD | tumbleweed | 2.860.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgd-perl | source | sid | 2.84-3 | not yet assigned | Not reported | Not reported |
| Debian | libgd-perl | source | forky | 2.84-3 | not yet assigned | Not reported | Not reported |
| Debian | libgd-perl | source | trixie | 2.78-1+deb13u1 | not yet assigned | Not reported | Not reported |
| Debian | libgd-perl | source | bookworm | 2.76-4+deb12u1 | not yet assigned | Not reported | Not reported |
| Cpe | libgd-perl | cpe | Not reported | 2.78-1ubuntu0.24.04.1 | Not reported | Not reported | Not reported |
| Alpine | perl-gd | apk | 3.21 | 2.86-r0 | Not reported | ALPINE-CVE-2026-11526 | Not reported |
| Alpine | perl-gd | apk | 3.22 | 2.86-r0 | Not reported | ALPINE-CVE-2026-11526 | Not reported |
| Alpine | perl-gd | apk | 3.23 | 2.86-r0 | Not reported | ALPINE-CVE-2026-11526 | Not reported |
| Alpine | perl-gd | apk | 3.24 | 2.86-r0 | Not reported | ALPINE-CVE-2026-11526 | Not reported |
| Ubuntu | libgd-perl | deb | 22.04 | 2.76-2ubuntu0.1 | Not reported | USN-8484-1 | Not reported |
| Ubuntu | libgd-perl | deb | 24.04 | 2.78-1ubuntu0.24.04.1 | Not reported | USN-8484-1 | Not reported |
| Ubuntu | libgd-perl | deb | 25.10 | 2.78-1ubuntu0.25.10.1 | Not reported | USN-8484-1 | Not reported |
| Ubuntu | libgd-perl | deb | 26.04 | 2.84-2ubuntu0.1 | Not reported | USN-8484-1 | Not reported |
| Ubuntu | libgd-perl | deb | 22.04 | 2.76-2ubuntu0.1 | Not reported | UBUNTU-CVE-2026-11526 | Not reported |
| Ubuntu | libgd-perl | deb | 24.04 | 2.78-1ubuntu0.24.04.1 | Not reported | UBUNTU-CVE-2026-11526 | Not reported |
| Ubuntu | libgd-perl | deb | 25.10 | 2.78-1ubuntu0.25.10.1 | Not reported | UBUNTU-CVE-2026-11526 | Not reported |
| Ubuntu | libgd-perl | deb | 26.04 | 2.84-2ubuntu0.1 | Not reported | UBUNTU-CVE-2026-11526 | Not reported |
| Opensuse | perl-GD | rpm | tumbleweed | 2.860.0-1.1 | Not reported | OPENSUSE-SU-2026:11017-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libgd-perl]Fixed
Details (4)
2.76-4+deb12u1· amd64 · bookwormFixed · Fixed:
2.76-4+deb12u1nvd · libgd-perl · debian · bookworm; nvd · libgd-perl · debian · 12
2.76-4+deb12u1· arm64 · bookwormFixed · Fixed:
2.76-4+deb12u1nvd · libgd-perl · debian · bookworm; nvd · libgd-perl · debian · 12
2.76-4+deb12u1· amd64 · bookworm-securityFixed · Fixed:
2.76-4+deb12u1nvd · libgd-perl · debian · bookworm; nvd · libgd-perl · debian · 12
2.76-4+deb12u1· arm64 · bookworm-securityFixed · Fixed:
2.76-4+deb12u1nvd · libgd-perl · debian · bookworm; nvd · libgd-perl · debian · 12
[Debian 13 (Trixie)]
- [libgd-perl]Fixed
Details (4)
2.78-1+deb13u1· amd64 · trixieFixed · Fixed:
2.78-1+deb13u1nvd · libgd-perl · debian · 13
2.78-1+deb13u1· arm64 · trixieFixed · Fixed:
2.78-1+deb13u1nvd · libgd-perl · debian · 13
2.78-1+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.78-1+deb13u1nvd · libgd-perl · debian · 13
2.78-1+deb13u1· arm64 · trixie-securityFixed · Fixed:
2.78-1+deb13u1nvd · libgd-perl · debian · 13
[openSUSE Tumbleweed]
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11017-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-11526]
- [https://osv.dev/vulnerability/ALPINE-CVE-2026-11526]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-11526]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-11526]
- [https://osv.dev/vulnerability/USN-8484-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11017-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-11526]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11526.json]
- [https://ubuntu.com/security/notices/USN-8484-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2630.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]