Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
3191 articles · 168085 vulns · 37/41 feeds (7d)
← Back to list
—
CVE-2026-47770PATCHED
jqlang · jq

jq: stack overflow in deep structural equality

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.

Affected Products

VendorProductVersions
jqlangjq< 1.8.2

References

  • https://github.com/jqlang/jq/security/advisories/GHSA-3pgx-frr7-3jxp(x_refsource_CONFIRM)

Related News (1 articles)

Tier C
VulDB2d ago
CVE-2026-47770 | jqlang jq up to 1.8.1 src/jv.c jvp_array_equal recursion
→ No new info (linked only)
CISA KEV❌ No
Actively exploited❌ No
Patch available
1.8.2
CWECWE-674
PublishedJun 25, 2026
Last enriched2d agov2
Trending Score13
Source articles1
Independent1
Info Completeness8/14
Missing: cvss, epss, kev, exploit, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

HIGHCVE-2026-39979EXP
jq: Out-of-Bounds Read in jv_parse_sized() Error Formatting for Non-NUL-Terminated Counted Buffers
Trending: 60
HIGHCVE-2026-49839EXP
jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow
Trending: 57
NONECVE-2026-54679
jq: potential integer overflow in jvp_string_append
Trending: 13
HIGHCVE-2026-44777
jq: stack overflow in module loading on mutual `include`
Trending: 3
MEDIUMCVE-2026-43894
jq: Wild stack write via signed-integer overflow in decNumber D2U() macro

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Jun 25, 2026
Discovered by ZDM
Jun 25, 2026
Updated: severity, patchAvailable
Jun 25, 2026
Patch Available
Jun 26, 2026

Version History

v2
Last enriched 2d ago
v2Tier C2d ago

Updated severity to HIGH, corrected patch available to version 1.8.2, and noted that no exploit is available.

severitypatchAvailable
via VulDB
v12d ago

Initial creation