{"id":"CVE-2026-78497","published":"2026-10-18T12:17:15.350","lastModified":"2026-10-18T12:17:15.350","description":"JQ::Lite versions before 2.51 for Perl execute Perl code embedded in a query's regular expression by compiling it with string eval.\n\nThe pattern given to test(), match(), or the match and =~ conditions of select() is placed in a `qr'...'` literal and compiled as source text, so a `(?{ ... })` code block in it runs without `use re 'eval'`. Single quotes in the pattern are escaped, but a code block runs in place and needs none.\n\nAn 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.","cvssScore":null,"cvssSeverity":null,"cvssVector":null,"cwes":["CWE-95"],"vendors":[],"products":[],"references":[{"url":"https://github.com/kawamurashingo/JQ-Lite/commit/c461721ae3d5a90d6d94dbb234c1b8dfee5c1769.patch","tags":[]},{"url":"https://metacpan.org/release/SHINGO/JQ-Lite-2.51/changes","tags":[]}],"exploitRefs":[{"url":"https://github.com/kawamurashingo/JQ-Lite/commit/c461721ae3d5a90d6d94dbb234c1b8dfee5c1769.patch","tags":[]}],"hasPoc":true,"ai":null}