JQ::Lite versions before 2.51 for Perl execute Perl code embedded in a query's regular expression by compiling it with string eval.
- CVSS
- 8.4High
- Chance of exploitation (EPSS)
- 0.20%
- Published
- Oct 18, 2026
- In the news
- Not yet
What to do
A serious security flaw that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
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.
The 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.
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.
Affected products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 1
Latest change: CVE-2026-78497 published (CVSS 8.4) (Oct 18, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sun, Oct 18, 2026
- CVECVE-2026-78497 published (CVSS 8.4)CVE Program · 12:17 UTC
References 3
- github.com /kawamurashingo/JQ-Lite/commit/c461721ae3d5a90d6d94dbb234c1b8dfee5c1769.patch
- metacpan.org /release/SHINGO/JQ-Lite-2.51/changes
- www.openwall.com /lists/oss-security/2026/10/18/3