{"id":81073,"date":"2026-06-25T20:52:21","date_gmt":"2026-06-25T17:22:21","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-47770-jq-stack-overflow-in-deep-structural-equality\/"},"modified":"2026-06-25T20:52:21","modified_gmt":"2026-06-25T17:22:21","slug":"cve-2026-47770-jq-stack-overflow-in-deep-structural-equality","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-47770-jq-stack-overflow-in-deep-structural-equality\/","title":{"rendered":"CVE-2026-47770 &#8211; jq: stack overflow in deep structural equality"},"content":{"rendered":"<p>CVE ID :CVE-2026-47770<\/p>\n<p>  Published : June 25, 2026, 5:22 p.m. | 22\u00a0minutes ago<\/p>\n<p>  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&#8217;s ordinary command-line surface, resulting in denial of service via stack exhaustion (uncontrolled recursion). The crash occurs in jq&#8217;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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-47770 Published : June 25, 2026, 5:22 p.m. | 22\u00a0minutes ago 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&#8217;s ordinary command-line surface, resulting in denial of service via stack exhaustion (uncontrolled recursion). The crash occurs &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81073","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81073","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81073"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81073\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}