Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/kawamurashingo/JQ-Lite/commit/c461721ae3d5a90d6d94dbb234c1b8d
- https://metacpan.org/release/SHINGO/JQ-Lite-2.51/changes
- http://www.openwall.com/lists/oss-security/2026/10/18/3
FAQ
What is CVE-2026-78497?
CVE-2026-78497 is a vulnerability with a CVSS score of 8.4 (HIGH). 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 =~ condition...
How severe is CVE-2026-78497?
CVE-2026-78497 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-78497?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.