{"id":80543,"date":"2026-06-14T15:46:22","date_gmt":"2026-06-14T12:16:22","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/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\/"},"modified":"2026-06-14T15:46:22","modified_gmt":"2026-06-14T12:16:22","slug":"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","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/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\/","title":{"rendered":"CVE-2026-11526 &#8211; 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"},"content":{"rendered":"<p>CVE ID :CVE-2026-11526<\/p>\n<p>  Published : June 14, 2026, 12:16 p.m. | 2\u00a0hours, 41\u00a0minutes ago<\/p>\n<p>  Description :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.<\/p>\n<p>GD::Image::_make_filehandle opens a filename argument with Perl&#8217;s 2-arg open(), so a filename that begins or ends with a pipe (&#8220;| cmd&#8221;, &#8220;cmd |&#8221;) or begins with a redirect (&#8220;&gt; path&#8221;, &#8220;&gt;&gt; path&#8221;) 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.<\/p>\n<p>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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-11526 Published : June 14, 2026, 12:16 p.m. | 2\u00a0hours, 41\u00a0minutes ago Description :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&#8217;s 2-arg open(), so a filename that begins or ends with a &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-80543","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=80543"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80543\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=80543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=80543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=80543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}