PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-78497 SHINGO CVE debrief

CVE-2026-78497 JQ::Lite Perl Code Execution Vulnerability. The vulnerability allows an attacker to execute arbitrary Perl code in the calling process by supplying a malicious query or text that is inserted into the pattern of a query. This can lead to serious security consequences, including potential privilege escalation, data tampering or theft, and system compromise. Defenders should assess their exposure, prioritize remediation, and implement additional security measures to prevent exploitation.

Vendor
SHINGO
Product
JQ::Lite
CVSS
Unknown
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-18
Original CVE updated
2026-10-18
Advisory published
2026-10-18
Advisory updated
2026-10-18

Who should care

Perl developers and administrators who use JQ::Lite in their applications should assess their exposure and take steps to mitigate the vulnerability. They should review the official advisory and CVE record to validate affected scope, severity, and vendor guidance. They should also plan vendor-supported updates or mitigations through normal change control where exposure is confirmed, and review compensating controls for exposed systems while remediation is

Why it matters

The CVE-2026-78497 vulnerability in JQ::Lite allows an attacker to execute arbitrary Perl code, which can lead to serious security consequences. Defenders should assess their exposure, prioritize remediation, and implement additional security measures to prevent exploitation.

  • Arbitrary Perl code execution in the calling process
  • Potential for privilege escalation
  • Possible data tampering or theft
  • Need for verification of affected versions and remediation

Technical summary

The JQ::Lite library for Perl executes Perl code embedded in a query's regular expression by compiling it with string eval. This allows an attacker to execute arbitrary Perl code in the calling process by supplying a malicious query or text that is inserted into the pattern of a query. The vulnerability can be exploited by 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. 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 not

Defensive priority

High

Recommended defensive actions

  • Review and update JQ::Lite to version 2.51 or later
  • Restrict user input to prevent injection of malicious Perl code
  • Monitor for suspicious activity and implement additional security measures
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and NVD entry provide limited information about the vulnerability. The CVE description states that 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 NVD entry is currently empty. To verify the vulnerability, defenders should review the official advisory and CVE record, and check for affected versions and remediation guidance. They should also monitor for suspicious activity and implement additional security measures.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-78497 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-78497

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-78497 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-78497

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/kawamurashingo/JQ-Lite/commit/c461721ae3d5a90d6d94dbb234c1b8dfee5c1769.patch

    9b29abf9-4ab0-4765-b253-1875cd9b441e

  • Source reference

    Unverified legacy reference

    URL: https://metacpan.org/release/SHINGO/JQ-Lite-2.51/changes

    9b29abf9-4ab0-4765-b253-1875cd9b441e

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.