Skip to main content
VulnerabilityPublished Updated

CVE-2026-47770: jq is a command-line JSON processor

Affects jqSource GCVE Database

0
Compare
Authoritative record:CVE-2026-47770· Medium 6.8

Not known to be exploited · CVSS 6.8 Medium · fixed in 1.8.2 : update jq when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.8.2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  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), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10jqpkg:deb/ubuntu/jq?arch=source&distro=stonkingOther threatsAffected
  • =1.8.1-4ubuntu1
  • =1.8.2-1ubuntu1
Fixed in–
Ubuntu 26.04 LTSjqpkg:deb/ubuntu/jq?arch=source&distro=resoluteOther threatsAffected
  • =1.8.1-3ubuntu1
  • =1.8.1-4ubuntu1
  • =1.8.1-4ubuntu2
Fixed in–
Ubuntu 25.10jqpkg:deb/ubuntu/jq?arch=source&distro=questingOther threatsAffected
  • 1.7.1-3ubuntu1 – 1.8.1-3ubuntu1.1
4 affected builds
Fixed in–
Ubuntu 24.04 LTSjqpkg:deb/ubuntu/jq?arch=source&distro=nobleOther threatsAffected
  • 1.6-3 – 1.7.1-3ubuntu0.24.04.2
7 affected builds
Fixed in–
Ubuntu 22.04 LTSjqpkg:deb/ubuntu/jq?arch=source&distro=jammyOther threatsAffected
  • 1.6-2.1ubuntu2 – 1.6-2.1ubuntu3.2
4 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSjqpkg:deb/ubuntu/jq?arch=source&distro=esm-infra/focalOther threatsAffected
  • 1.5+dfsg-2build1 – 1.6-1ubuntu0.20.04.1+esm3
6 affected builds
Fixed in–

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

Description

jq is a command-line JSON processor. Prior to 1.8.2, comparing two sufficiently deeply nested arrays with the == operator exhausts the C stack on jq's ordinary command-line surface, resulting in denial of service via stack exhaustion (uncontrolled recursion). The crash occurs in jq's recursive structural comparison code, with the recursion repeating through jvp_array_equal() and jv_equal() in src/jv.c when comparing deeply nested arrays; a nearby sort comparator path through jv_cmp() in src/jv_aux.c overflows the stack at a larger nesting depth from the same missing recursion guard. Anyone running jq comparisons on attacker-controlled deeply nested JSON values, or embedding jq in a context where untrusted data can reach the == comparison path, is affected. This vulnerability is fixed in 1.8.2.

References

Community reviews

Loading reviews…