{"id":16812,"date":"2026-09-04T19:05:38","date_gmt":"2026-09-04T11:05:38","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-11526"},"modified":"2026-09-04T19:05:38","modified_gmt":"2026-09-04T11:05:38","slug":"cve-2026-11526","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-11526","title":{"rendered":"CVE-2026-11526 [CRITICAL] &#8211; GD versions before 2.86 for Perl allow OS command injection and file overwrite via a 2-arg"},"content":{"rendered":"<p>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","protected":false},"excerpt":{"rendered":"<p>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<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-16812","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/16812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}