CVE Explorer
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,
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-73","description":"CWE-73 External Control of File Name or Path","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"GD","product":"GD","programFiles":["lib/GD/Image.pm","lib/GD/Image_pm.PL"],"programRoutines":[{"name":"GD::Image::_make_filehandle"}],"repo":"https://github.com/lstein/Perl-GD","vendor":"RURBAN","versions":[{"lessThan":"2.86","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-73","description":"CWE-73 External Control of File Name or Path","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/06/14/4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/lstein/Perl-GD/commit/67b163713c6c78dfeb693da0978ae934e5cd8210.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/cna/references/0
{"url":"https://lists.debian.org/debian-lts-announce/2026/06/msg00027.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/adp/0/references/1
{"tags":["release-notes"],"url":"https://metacpan.org/release/RURBAN/GD-2.86/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:4251ce1a486f0c25b8be3ab9e89e09be7dae37c5d17e93df0270e0d531a5e6ba · sha256:3cb7f0daf65c68e3… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.