Skip to main content
VulnerabilityPublished Updated

CVE-2026-11526: Libgd perl · GD versions before 2.86 for Perl allow OS command injection and file overwrite via a

Affects libgd-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-11526· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical · fixed in 2.76-2ubuntu0.1 : patch libgd-perl as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.3% chance of exploitation in 30 days – higher than 72% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.76-2ubuntu0.1, 2.78-1ubuntu0.24.04.1, 2.78-1ubuntu0.25.10.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibgd-perlpkg:deb/ubuntu/libgd-perl?arch=source&distro=resoluteOther threatsAffected
  • <2.84-2ubuntu0.1
Fixed in
  • 2.84-2ubuntu0.1
Ubuntu 25.10libgd-perlpkg:deb/ubuntu/libgd-perl?arch=source&distro=questingOther threatsAffected
  • <2.78-1ubuntu0.25.10.1
Fixed in
  • 2.78-1ubuntu0.25.10.1
Ubuntu 24.04 LTSlibgd-perlpkg:deb/ubuntu/libgd-perl?arch=source&distro=nobleOther threatsAffected
  • <2.78-1ubuntu0.24.04.1
Fixed in
  • 2.78-1ubuntu0.24.04.1
Ubuntu 22.04 LTSlibgd-perlpkg:deb/ubuntu/libgd-perl?arch=source&distro=jammyOther threatsAffected
  • <2.76-2ubuntu0.1
Fixed in
  • 2.76-2ubuntu0.1
Ubuntu 20.04 LTSlibgd-perlpkg:deb/ubuntu/libgd-perl?arch=source&distro=focalOther threatsAffected
  • =2.71-2
  • =2.71-2build1
Fixed in–
Ubuntu 18.04 LTSlibgd-perlpkg:deb/ubuntu/libgd-perl?arch=source&distro=bionicOther threatsAffected
  • =2.66-1build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…