cve.bz

CVE-2026-11526 rurban gd: External Control of File Name or Path

9.8 criticalEPSS 1.4%

Critical (9.8) in rurban gd. EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-06-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-73 External Control of File Name or Path
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection, A06:2025 Insecure Design
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-11526 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-11526?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-11526?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-11526 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
RURBAN GDbefore 2.86

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libgd-perl2.73-1+deb11u1DLA-4638-1
Debian12libgd-perl2.76-4+deb12u1DEBIAN-CVE-2026-11526 DLA-4638-1
Debian13libgd-perl2.78-1+deb13u1DEBIAN-CVE-2026-11526 DSA-6345-1
Debian14libgd-perl2.84-3DEBIAN-CVE-2026-11526
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTSlibgd-perlno fix listedUBUNTU-CVE-2026-11526
Ubuntu22.04:LTSlibgd-perl2.76-2ubuntu0.1UBUNTU-CVE-2026-11526 USN-8484-1
Ubuntu24.04:LTSlibgd-perl2.78-1ubuntu0.24.04.1UBUNTU-CVE-2026-11526 USN-8484-1
Ubuntu25.10libgd-perl2.78-1ubuntu0.25.10.1UBUNTU-CVE-2026-11526 USN-8484-1
Ubuntu26.04:LTSlibgd-perl2.84-2ubuntu0.1UBUNTU-CVE-2026-11526 USN-8484-1
Red Hatrhel_els:7perl-GD, perl-GD-debuginfo0:2.49-3.el7_9.1RHSA-2026:49758
openSUSETumbleweedperl-GD2.860.0-1.1openSUSE-SU-2026:11017-1
Alpinev3.21, v3.22, v3.23 and 1 moreperl-gd2.86-r0ALPINE-CVE-2026-11526
Alpaquita23perl-gd2.76-r1BELL-CVE-2026-11526
Alpaquita25, streamperl-gd2.86-r0BELL-CVE-2026-11526

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

This Critical vulnerability in `perl-GD` enables arbitrary command execution or file overwrites when applications process untrusted input as filenames for image constructors. Exploitation occurs if an application passes a specially crafted filename containing pipe or redirect characters, allowing an attacker to execute commands or modify files with the privileges of the affected process. This poses a significant risk to system integrity and confidentiality in environments where `perl-GD` is used to handle external, unsanitized file paths.

Red Hat's mitigation

Exploitation of CGI scripts using perl-GD is made difficult with the use of `SecRuleEngine On` from the `mod_security` RPM. See https://access.redhat.com/solutions/6961459 for details on installing `mod_security` on RHEL.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportperl-GD-0:2.49-3.el7_9.1Fixed 2026-08-03RHSA-2026:49758
Red Hat Enterprise Linux 6perl-GDOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-11526.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-73.

References

Check your stackJSON