CVE-2026-40612

MEDIUM CVSS 4.0: 5.4 EPSS 0.16%
Updated Oct 26, 2026
Jqlang
Parameter Value
CVSS 5.4 (MEDIUM)
Affected Versions before 1.8.1
Type CWE-674
Vendor Jqlang
Public PoC No

jq is a command-line JSON processor. In 1.8.1 and earlier, jv_contains recurses into nested arrays/objects with no depth limit. With a sufficiently nested input structure (built programmatically with reduce, since the JSON parser caps at depth 10000), the C stack is exhausted.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Jqlang Jq
cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*
— <= 1.8.1