Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-11526

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-11526

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-11526

libgd-perl

Source reference: /affected/0/package/name

Affected versions
2.76-4

Source reference: /affected/0/versions

Fixed versions
2.76-4+deb12u1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

libgd-perl

Source reference: /affected/1/package/name

Affected versions
2.78-1

Source reference: /affected/1/versions

Fixed versions
2.78-1+deb13u1

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

libgd-perl

Source reference: /affected/2/package/name

Affected versions
2.78-1

Source reference: /affected/2/versions

2.83-1

Source reference: /affected/2/versions

2.84-1

Source reference: /affected/2/versions

2.84-2

Source reference: /affected/2/versions

Fixed versions
2.84-3

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.76-4+deb12u1"
          }
        ]
      }
    ],
    "package": {
      "name": "libgd-perl",
      "purl": "pkg:deb/debian/libgd-perl?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "2.76-4"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-11526.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.78-1+deb13u1"
          }
        ]
      }
    ],
    "package": {
      "name": "libgd-perl",
      "purl": "pkg:deb/debian/libgd-perl?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "2.78-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-11526.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.84-3"
          }
        ]
      }
    ],
    "package": {
      "name": "libgd-perl",
      "purl": "pkg:deb/debian/libgd-perl?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "2.78-1",
      "2.83-1",
      "2.84-1",
      "2.84-2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-11526.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#55451 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement