{"id":40880,"date":"2026-10-18T20:31:16","date_gmt":"2026-10-18T12:31:16","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-78497"},"modified":"2026-10-18T20:31:16","modified_gmt":"2026-10-18T12:31:16","slug":"cve-2026-78497","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-78497","title":{"rendered":"CVE-2026-78497 &#8211; JQ::Lite versions before 2.51 for Perl execute Perl code embedded in a query&#8217;s regular exp"},"content":{"rendered":"<p>JQ::Lite versions before 2.51 for Perl execute Perl code embedded in a query&#8217;s regular expression by compiling it with string eval.<\/p>\n<p>The pattern given to test(), match(), or the match and =~ conditions of select() is placed in a `qr&#8217;&#8230;&#8217;` literal and compiled as source text, so a `(?{ &#8230; })` code block in it runs without `use re &#8216;eval&#8217;`. Single quotes in the pattern are escaped, but a code block runs in place and needs none.<\/p>\n<p>An attacker who supplies a query, or text that an application inserts into the pattern of one, can execute arbitrary Perl code in the calling process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JQ::Lite versions before 2.51 for Perl execute Perl code embedded in a query&#8217;s regular expression by compiling it with string eval.<\/p>\n<p>The pattern given to test(), match(), or the match and =~ condition<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-40880","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/40880","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=40880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}