Skip to main content
CVE-2026-40612VulnerabilityPublished Updated

jv_contains · jq: Stack overflow via unbounded recursion

Affects MicrosoftSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40612· Medium 5.4

Public exploit available · CVSS 5.4 Medium.

Data as of 21 Nov 2026, 09:45 UTC

CVSS 4.0 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 20 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
jqlangjqAffected
  • <=1.8.1
Fixed in–
GitHubjqlang/jqpkg:github/jqlang/jqOther threatsAffected
  • <=1.8.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid processing untrusted input that could trigger the recursion. Monitor official Microsoft Security Response Center communications for updates.

Description

A stack overflow vulnerability exists in the jq tool due to unbounded recursion in the jv_contains function. This flaw can cause the program to crash or behave unexpectedly when processing certain inputs. The affected versions are jq 3.0 and 4.0.

References

Community reviews

Loading reviews…