Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-47770— jq: stack overflow in deep structural equality

Quick assessment

Affected
jqlang jq
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

jqlang jq是jqlang团队开源的一个轻量级且灵活的命令行 JSON 处理器。 jqlang jq 1.8.2之前版本存在资源管理错误漏洞,该漏洞源于使用==运算符比较深度嵌套数组时缺乏递归保护,导致C栈耗尽,容易受到拒绝服务攻击。

AI Predicted 5.3 Difficulty: Easy EPSS 0.16% · P4

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 1

VendorProduct Version RangeStatus
jqlang jq < 1.8.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-47770

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
jq: stack overflow in deep structural equality
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5
Vulnerability Title
jqlang jq 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
jqlang jq是jqlang团队开源的一个轻量级且灵活的命令行 JSON 处理器。 jqlang jq 1.8.2之前版本存在资源管理错误漏洞,该漏洞源于使用==运算符比较深度嵌套数组时缺乏递归保护,导致C栈耗尽,容易受到拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jqlang jq < 1.8.2 -

II. Public POCs for CVE-2026-47770

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-47770

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-47770 (1)

Same Patch Batch · jqlang · 2026-06-25 · 3 CVEs total

CVE-2026-49839 7.1 HIGH jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow
CVE-2026-54679 jq: potential integer overflow in jvp_string_append

IV. Related Vulnerabilities

V. Comments for CVE-2026-47770

No comments yet


Leave a comment