ALPINE-CVE-2026-11526
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.
ALPINE-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:ALPINE-CVE-2026-11526
perl-gd
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 2.86-r0
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
perl-gd
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 2.86-r0
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
perl-gd
Source reference: /affected/2/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 2.86-r0
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
perl-gd
Source reference: /affected/3/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 2.86-r0
Source reference:
/affected/3/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.86-r0"
}
]
}
],
"package": {
"name": "perl-gd",
"purl": "pkg:apk/alpine/perl-gd?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-11526.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.86-r0"
}
]
}
],
"package": {
"name": "perl-gd",
"purl": "pkg:apk/alpine/perl-gd?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-11526.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.86-r0"
}
]
}
],
"package": {
"name": "perl-gd",
"purl": "pkg:apk/alpine/perl-gd?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-11526.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.86-r0"
}
]
}
],
"package": {
"name": "perl-gd",
"purl": "pkg:apk/alpine/perl-gd?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-11526.json"
},
"ecosystem_specific": {}
}
]Publisher severity
No explicit severity was provided.
- Event
- #52180 · Revision 1
- Added to Heist Feed
- Publisher date