Vulnérabilités / CVE-2026-11526

critique

CVE-2026-11526

perl-GD: perl-GD: Arbitrary command execution and file overwrite via crafted filenames

Publiée Modifiée CWE 73, 78
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Le label propre à Trivy est CRITICAL. Critique selon Red Hat, Oracle. Plus basse selon Amazon (élevée), Ubuntu (moyenne).

Description

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
Oracle Linux 7perl-GD2.49-3.0.1.el7
Red Hatperl-GDpas de correctif indiqué
alpine 3.21perl-gd2.86-r0
alpine 3.22perl-gd2.86-r0
alpine 3.23perl-gd2.86-r0
alpine 3.24perl-gd2.86-r0
alpine edgeperl-gd2.86-r0
amazon linux 2perl-GD, perl-GD-debuginfo2.49-3.amzn2.0.3
amazon linux 2023perl-GD, perl-GD-debuginfo, perl-GD-debugsource2.80-1.amzn2023.0.3
debian 11libgd-perl2.73-1+deb11u1
debian 12libgd-perl2.76-4+deb12u1
debian 13libgd-perl2.78-1+deb13u1
Afficher les 33 entrées de 30 sources
SourcePaquetCorrigé en
Oracle Linux 7perl-GD2.49-3.0.1.el7
Red Hatperl-GDpas de correctif indiqué
alpine 3.21perl-gd2.86-r0
alpine 3.22perl-gd2.86-r0
alpine 3.23perl-gd2.86-r0
alpine 3.24perl-gd2.86-r0
alpine edgeperl-gd2.86-r0
amazon linux 2perl-GD2.49-3.amzn2.0.3
amazon linux 2perl-GD-debuginfo2.49-3.amzn2.0.3
amazon linux 2023perl-GD2.80-1.amzn2023.0.3
amazon linux 2023perl-GD-debuginfo2.80-1.amzn2023.0.3
amazon linux 2023perl-GD-debugsource2.80-1.amzn2023.0.3
debian 11libgd-perl2.73-1+deb11u1
debian 12libgd-perl2.76-4+deb12u1
debian 13libgd-perl2.78-1+deb13u1
debian 14libgd-perl2.84-3
echolibgd-perl2.76-4+deb12u1
rapidfort alpine 3.20perl-gd2.86-r0
rapidfort alpine 3.21perl-gd2.86-r0
rapidfort alpine 3.22perl-gd2.86-r0
rapidfort amazon linux 2023perl-GD2.80-1.amzn2023.0.3
rapidfort debian 12libgd-perl0:2.78-1+deb13u1, 0:2.84-3
rapidfort debian 13libgd-perl0:2.78-1+deb13u1, 0:2.84-3
rapidfort fedora 43perl-GD2.86-1.fc43
rapidfort Oracle Linux 10perl-GD2.86-1.el10_3
rapidfort Oracle Linux 9perl-GD2.86-1.el9
rapidfort ubuntu 20.04libgd-perl0:2.76-2ubuntu0.1, 0:2.78-1ubuntu0.24.04.1, 0:2.84-2ubuntu0.1
rapidfort ubuntu 22.04libgd-perl0:2.76-2ubuntu0.1, 0:2.78-1ubuntu0.24.04.1, 0:2.84-2ubuntu0.1
rapidfort ubuntu 24.04libgd-perl0:2.76-2ubuntu0.1, 0:2.78-1ubuntu0.24.04.1, 0:2.84-2ubuntu0.1
ubuntu 22.04libgd-perl2.76-2ubuntu0.1
ubuntu 24.04libgd-perl2.78-1ubuntu0.24.04.1
ubuntu 25.10libgd-perl2.78-1ubuntu0.25.10.1
ubuntu 26.04libgd-perl2.84-2ubuntu0.1

Références

Les 11 références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.