PT-2026-49088 · Cpan+1 · Gd For Perl+1

·

CVE-2026-11526

·

Published

2026-06-11

·

Updated

2026-07-23

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions GD for Perl versions prior to 2.86
Description The make filehandle() function in GD::Image uses Perl's 2-arg open() to process filename arguments. This allows OS command injection and file overwrite if a filename begins or ends with a pipe (e.g., "| cmd", "cmd |") or begins with a redirect (e.g., "> path", ">> path"). This issue affects every filename-accepting constructor, including new(), newFromPng(), and newFromJpeg(). Callers forwarding untrusted input as a pathname can execute arbitrary commands or truncate files under the process UID. In-memory *Data variants are not affected.
Recommendations Update to version 2.86 or later.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-11526
OPENSUSE-SU-2026:11017-1
USN-8484-1

Affected Products

Gd For Perl
Linuxmint