UBUNTU-CVE-2026-11526

Source
https://ubuntu.com/security/CVE-2026-11526
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-11526
Upstream
Downstream
Related
Published
2026-06-14T12:16:00Z
Modified
2026-06-30T18:16:00.520002189Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

GD versions before 2.86 for Perl allow OS command injection and file overwrite via a 2-arg open() of filename arguments in makefilehandle. GD::Image::makefilehandle 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. makefilehandle 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

Affected packages

Ubuntu:16.04:LTS
libgd-perl

Package

Name
libgd-perl
Purl
pkg:deb/ubuntu/libgd-perl?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.53-1build1
2.53-2
2.53-2build1
2.53-2.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libgd-perl",
            "binary_version": "2.53-2.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json"
Ubuntu:18.04:LTS
libgd-perl

Package

Name
libgd-perl
Purl
pkg:deb/ubuntu/libgd-perl?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.66-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libgd-perl",
            "binary_version": "2.66-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json"
Ubuntu:20.04:LTS
libgd-perl

Package

Name
libgd-perl
Purl
pkg:deb/ubuntu/libgd-perl?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.71-2
2.71-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libgd-perl",
            "binary_version": "2.71-2build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json"
Ubuntu:22.04:LTS
libgd-perl

Package

Name
libgd-perl
Purl
pkg:deb/ubuntu/libgd-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.76-2ubuntu0.1

Affected versions

2.*
2.73-1build2
2.76-2
2.76-2build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libgd-perl",
            "binary_version": "2.76-2ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json"
Ubuntu:24.04:LTS
libgd-perl

Package

Name
libgd-perl
Purl
pkg:deb/ubuntu/libgd-perl?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.78-1ubuntu0.24.04.1

Affected versions

2.*
2.76-4build1
2.78-1
2.78-1build1
2.78-1build2
2.78-1build3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libgd-perl",
            "binary_version": "2.78-1ubuntu0.24.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json"
Ubuntu:25.10
libgd-perl

Package

Name
libgd-perl
Purl
pkg:deb/ubuntu/libgd-perl?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.78-1ubuntu0.25.10.1

Affected versions

2.*
2.78-1build4

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libgd-perl",
            "binary_version": "2.78-1ubuntu0.25.10.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json"
Ubuntu:26.04:LTS
libgd-perl

Package

Name
libgd-perl
Purl
pkg:deb/ubuntu/libgd-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.84-2ubuntu0.1

Affected versions

2.*
2.78-1build4
2.83-1
2.84-2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libgd-perl",
            "binary_version": "2.84-2ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-11526.json"