GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

OESA-2026-2789 (CVE-2026-11526)

Vulnerability from osv_openeuler – Published: 2026-06-24 11:11 – Updated: 2026-08-06 11:11 – Source website
VLAI
Summary
perl-GD security update
Details

This is a autoloadable interface module for libgd, a popular library for creating and manipulating PNG files. With this library you can create PNG images on the fly or modify existing files. Features include:

Security Fix(es):

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.(CVE-2026-11526)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-GD-2.78-2.oe2403sp3.aarch64.rpm",
          "perl-GD-debuginfo-2.78-2.oe2403sp3.aarch64.rpm",
          "perl-GD-debugsource-2.78-2.oe2403sp3.aarch64.rpm"
        ],
        "noarch": [
          "perl-GD-help-2.78-2.oe2403sp3.noarch.rpm"
        ],
        "src": [
          "perl-GD-2.78-2.oe2403sp3.src.rpm"
        ],
        "x86_64": [
          "perl-GD-2.78-2.oe2403sp3.x86_64.rpm",
          "perl-GD-debuginfo-2.78-2.oe2403sp3.x86_64.rpm",
          "perl-GD-debugsource-2.78-2.oe2403sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP3",
        "name": "perl-GD",
        "purl": "pkg:rpm/openEuler/perl-GD\u0026distro=openEuler-24.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.78-2.oe2403sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-GD-2.72-3.oe2003sp4.aarch64.rpm",
          "perl-GD-debuginfo-2.72-3.oe2003sp4.aarch64.rpm",
          "perl-GD-debugsource-2.72-3.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "perl-GD-help-2.72-3.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "perl-GD-2.72-3.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "perl-GD-2.72-3.oe2003sp4.x86_64.rpm",
          "perl-GD-debuginfo-2.72-3.oe2003sp4.x86_64.rpm",
          "perl-GD-debugsource-2.72-3.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "perl-GD",
        "purl": "pkg:rpm/openEuler/perl-GD\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.72-3.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-GD-2.75-3.oe2203sp4.aarch64.rpm",
          "perl-GD-debuginfo-2.75-3.oe2203sp4.aarch64.rpm",
          "perl-GD-debugsource-2.75-3.oe2203sp4.aarch64.rpm"
        ],
        "noarch": [
          "perl-GD-help-2.75-3.oe2203sp4.noarch.rpm"
        ],
        "src": [
          "perl-GD-2.75-3.oe2203sp4.src.rpm"
        ],
        "x86_64": [
          "perl-GD-2.75-3.oe2203sp4.x86_64.rpm",
          "perl-GD-debuginfo-2.75-3.oe2203sp4.x86_64.rpm",
          "perl-GD-debugsource-2.75-3.oe2203sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP4",
        "name": "perl-GD",
        "purl": "pkg:rpm/openEuler/perl-GD\u0026distro=openEuler-22.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.75-3.oe2203sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "perl-GD-2.78-2.oe2403sp1.aarch64.rpm",
          "perl-GD-debuginfo-2.78-2.oe2403sp1.aarch64.rpm",
          "perl-GD-debugsource-2.78-2.oe2403sp1.aarch64.rpm"
        ],
        "noarch": [
          "perl-GD-help-2.78-2.oe2403sp1.noarch.rpm"
        ],
        "src": [
          "perl-GD-2.78-2.oe2403sp1.src.rpm"
        ],
        "x86_64": [
          "perl-GD-2.78-2.oe2403sp1.x86_64.rpm",
          "perl-GD-debuginfo-2.78-2.oe2403sp1.x86_64.rpm",
          "perl-GD-debugsource-2.78-2.oe2403sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS-SP1",
        "name": "perl-GD",
        "purl": "pkg:rpm/openEuler/perl-GD\u0026distro=openEuler-24.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.78-2.oe2403sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Critical"
  },
  "details": "This is a autoloadable interface module for libgd, a popular library for creating and manipulating PNG files.  With this library you can create PNG images on the fly or modify existing files.  Features include:\r\n\r\nSecurity Fix(es):\n\nGD versions before 2.86 for Perl allow OS command injection and file overwrite via a 2-arg open() of filename arguments in _make_filehandle.\n\nGD::Image::_make_filehandle opens a filename argument with Perl\u0026apos;s 2-arg open(), so a filename that begins or ends with a pipe (\u0026quot;| cmd\u0026quot;, \u0026quot;cmd |\u0026quot;) or begins with a redirect (\u0026quot;\u0026gt; path\u0026quot;, \u0026quot;\u0026gt;\u0026gt; path\u0026quot;) 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.\n\nAny 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.(CVE-2026-11526)",
  "id": "OESA-2026-2789",
  "modified": "2026-08-06T11:11:42Z",
  "published": "2026-06-24T11:11:42Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-2789"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-11526"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "perl-GD security update",
  "upstream": [
    "CVE-2026-11526"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…