CVE Catalog

CVE-2026-78497

HighCVSS 8.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

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. A (?{ ... }) code block in the pattern passed to test(), match(), or the match and =~ conditions of select() runs without requiring use re 'eval', allowing arbitrary Perl code execution.

Risk Assessment

An attacker supplying a query or text inserted into the pattern can execute arbitrary Perl code in the calling process, leading to full compromise of the application.

Recommendation

Update JQ::Lite to version 2.51 or later, which eliminates execution of embedded code in regular expressions.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS