CVE-2026-11526
perl-GD: perl-GD: Arbitrary command execution and file overwrite via crafted filenames
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: Red Hat, Oracle. Daha düşük diyenler: Amazon (yüksek), Ubuntu (orta).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Oracle Linux 7 | perl-GD | 2.49-3.0.1.el7 |
| Red Hat | perl-GD | düzeltme belirtilmemiş |
| alpine 3.21 | perl-gd | 2.86-r0 |
| alpine 3.22 | perl-gd | 2.86-r0 |
| alpine 3.23 | perl-gd | 2.86-r0 |
| alpine 3.24 | perl-gd | 2.86-r0 |
| alpine edge | perl-gd | 2.86-r0 |
| amazon linux 2 | perl-GD, perl-GD-debuginfo | 2.49-3.amzn2.0.3 |
| amazon linux 2023 | perl-GD, perl-GD-debuginfo, perl-GD-debugsource | 2.80-1.amzn2023.0.3 |
| debian 11 | libgd-perl | 2.73-1+deb11u1 |
| debian 12 | libgd-perl | 2.76-4+deb12u1 |
| debian 13 | libgd-perl | 2.78-1+deb13u1 |
30 kaynaktaki 33 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Oracle Linux 7 | perl-GD | 2.49-3.0.1.el7 |
| Red Hat | perl-GD | düzeltme belirtilmemiş |
| alpine 3.21 | perl-gd | 2.86-r0 |
| alpine 3.22 | perl-gd | 2.86-r0 |
| alpine 3.23 | perl-gd | 2.86-r0 |
| alpine 3.24 | perl-gd | 2.86-r0 |
| alpine edge | perl-gd | 2.86-r0 |
| amazon linux 2 | perl-GD | 2.49-3.amzn2.0.3 |
| amazon linux 2 | perl-GD-debuginfo | 2.49-3.amzn2.0.3 |
| amazon linux 2023 | perl-GD | 2.80-1.amzn2023.0.3 |
| amazon linux 2023 | perl-GD-debuginfo | 2.80-1.amzn2023.0.3 |
| amazon linux 2023 | perl-GD-debugsource | 2.80-1.amzn2023.0.3 |
| debian 11 | libgd-perl | 2.73-1+deb11u1 |
| debian 12 | libgd-perl | 2.76-4+deb12u1 |
| debian 13 | libgd-perl | 2.78-1+deb13u1 |
| debian 14 | libgd-perl | 2.84-3 |
| echo | libgd-perl | 2.76-4+deb12u1 |
| rapidfort alpine 3.20 | perl-gd | 2.86-r0 |
| rapidfort alpine 3.21 | perl-gd | 2.86-r0 |
| rapidfort alpine 3.22 | perl-gd | 2.86-r0 |
| rapidfort amazon linux 2023 | perl-GD | 2.80-1.amzn2023.0.3 |
| rapidfort debian 12 | libgd-perl | 0:2.78-1+deb13u1, 0:2.84-3 |
| rapidfort debian 13 | libgd-perl | 0:2.78-1+deb13u1, 0:2.84-3 |
| rapidfort fedora 43 | perl-GD | 2.86-1.fc43 |
| rapidfort Oracle Linux 10 | perl-GD | 2.86-1.el10_3 |
| rapidfort Oracle Linux 9 | perl-GD | 2.86-1.el9 |
| rapidfort ubuntu 20.04 | libgd-perl | 0:2.76-2ubuntu0.1, 0:2.78-1ubuntu0.24.04.1, 0:2.84-2ubuntu0.1 |
| rapidfort ubuntu 22.04 | libgd-perl | 0:2.76-2ubuntu0.1, 0:2.78-1ubuntu0.24.04.1, 0:2.84-2ubuntu0.1 |
| rapidfort ubuntu 24.04 | libgd-perl | 0:2.76-2ubuntu0.1, 0:2.78-1ubuntu0.24.04.1, 0:2.84-2ubuntu0.1 |
| ubuntu 22.04 | libgd-perl | 2.76-2ubuntu0.1 |
| ubuntu 24.04 | libgd-perl | 2.78-1ubuntu0.24.04.1 |
| ubuntu 25.10 | libgd-perl | 2.78-1ubuntu0.25.10.1 |
| ubuntu 26.04 | libgd-perl | 2.84-2ubuntu0.1 |
Referanslar
- http://www.openwall.com/lists/oss-security/2026/06/14/4
- https://access.redhat.com/security/cve/CVE-2026-11526
- https://github.com/lstein/Perl-GD/commit/67b163713c6c78dfeb693da0978ae934e5cd8210.patch
- https://linux.oracle.com/cve/CVE-2026-11526.html
- https://linux.oracle.com/errata/ELSA-2026-49758.html
- https://lists.debian.org/debian-lts-announce/2026/06/msg00027.html
- https://lists.security.metacpan.org/cve-announce/msg/41004664/
- https://metacpan.org/release/RURBAN/GD-2.86/changes