{"id":"CVE-2026-78497","aliases":["CVE-2026-78497"],"related":[],"kind":"vulnerability","state":"published","title":"JQ::Lite versions before 2.51 for Perl execute Perl code embedded in a query's regular expression by compiling it with string eval","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-18T11:32:05.853Z","modified":"2026-10-20T19:18:15.957Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-95"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2.51","status":"affected"}],"package":"JQ-Lite","repo":"https://github.com/kawamurashingo/JQ-Lite","source":"cvelist"}],"references":[{"url":"https://github.com/kawamurashingo/JQ-Lite/commit/c461721ae3d5a90d6d94dbb234c1b8dfee5c1769.patch","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://metacpan.org/release/SHINGO/JQ-Lite-2.51/changes","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/18/3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"CPANSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-20T18:22:07.986Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-78497","url":"https://www.cve.org/CVERecord?id=CVE-2026-78497","licence":"CVE Terms of Use","modified":"2026-10-20T18:22:12.298Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-78497","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-78497","licence":"Public domain","modified":"2026-10-20T19:18:15.957Z"}],"updatedAt":"2026-11-25T22:59:45.174Z","epss":{"score":0.00196,"percentile":0.09793,"date":"2026-12-01T12:00:22.000Z"}}