Advisory

UBUNTU-CVE-2026-11526

Also known as: CVE-2026-11526

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-14 12:16 UTC
Modified
2026-06-30 18:16 UTC

Affected packages and fixes

libgd-perl

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libgd-perl

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libgd-perl

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libgd-perl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.76-2ubuntu0.1 (ecosystem)

Fixed versions

2.76-2ubuntu0.1

Fix

  • Fixed version 2.76-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgd-perl

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.78-1ubuntu0.24.04.1 (ecosystem)

Fixed versions

2.78-1ubuntu0.24.04.1

Fix

  • Fixed version 2.78-1ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgd-perl

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 2.78-1ubuntu0.25.10.1 (ecosystem)

Fixed versions

2.78-1ubuntu0.25.10.1

Fix

  • Fixed version 2.78-1ubuntu0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libgd-perl

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 2.84-2ubuntu0.1 (ecosystem)

Fixed versions

2.84-2ubuntu0.1

Fix

  • Fixed version 2.84-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences