CVE-2026-78497

Source
https://cve.org/CVERecord?id=CVE-2026-78497
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78497.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-78497
Published
2026-10-18T11:32:05Z
Modified
2026-10-21T03:00:00Z
Severity
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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
Details

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.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-95"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78497.json"
}
References

Affected packages

Git / github.com/kawamurashingo/jq-lite

Affected ranges

Type
GIT
Repo
https://github.com/kawamurashingo/jq-lite
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "2.51"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "c461721ae3d5a90d6d94dbb234c1b8dfee5c1769"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

2.*
2.46
2.47
v1.*
v1.71
v1.72
v1.73
v1.75
v1.76
v1.78
v1.79
v1.98
v2.*
v2.10
v2.14
v2.21
v2.29
v2.39
v2.42
v2.43
v2.44
v2.48
v2.49
v2.50

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78497.json"