Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-11526: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in RURBAN GD

0
High
VulnerabilityCVE-2026-11526cvecve-2026-11526cwe-78cwe-73
Published: Sun Jun 14 2026 (06/14/2026, 11:39:21 UTC)
Source: CVE Database V5
Vendor/Project: RURBAN
Product: GD

Description

GD versions prior to 2.86 for Perl contain an OS command injection vulnerability in the _make_filehandle function. This function uses Perl's 2-argument open() on filename arguments, which allows filenames starting or ending with pipe characters or redirection symbols to be interpreted as commands or redirects. This affects all filename-accepting constructors such as new, newFromPng, and newFromJpeg. The in-memory *Data variants are not affected. Untrusted input passed as a filename can lead to arbitrary command execution or file truncation under the process user ID.

Affected software

GitHub Actionsmore threats →cve
GD
pkg:github/GD
Affected versions
<2.86

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/14/2026, 12:24:25 UTC

Technical Analysis

The vulnerability in RURBAN GD before version 2.86 arises from the use of Perl's 2-argument open() in GD::Image::_make_filehandle, which does not properly neutralize special characters in filename arguments. Filenames that begin or end with pipe characters ("| cmd", "cmd |") or redirection operators ("> path", ">> path") are executed as OS commands or cause file redirection instead of being safely opened as files. This affects all constructors that accept filenames, enabling an attacker who can supply untrusted input as a filename to execute arbitrary OS commands or overwrite files with the privileges of the running process. The in-memory data variants that do not open files are not vulnerable.

Potential Impact

An attacker who can supply untrusted input to any filename-accepting constructor in GD before 2.86 can execute arbitrary OS commands or truncate files with the privileges of the process running the Perl GD module. This can lead to unauthorized command execution and potential system compromise or data loss.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing untrusted input to any GD filename-accepting constructors (new, newFromPng, newFromJpeg, etc.). Use the in-memory *Data variants that do not open files if possible. Monitor vendor channels for updates and apply official patches once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-07T19:26:46.259Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2e99f7e617e2d83479c5cd

Added to database: 6/14/2026, 12:09:27 PM

Last enriched: 6/14/2026, 12:24:25 PM

Last updated: 6/14/2026, 1:41:06 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses