Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-11526 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-73External Control of File Name or PathCPANSec
CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CPANSec

Affected Products

ProductVersions
GD
< 2.86

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 2.86moderate effort

Change History

7 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-11526
NVD Published Date:
Jun 14, 2026
NVD Last Modified:
Jul 23, 2026
Source:
CPANSec