REDHAT-BUG-2469183: Medium severity jqlang jq vulnerability

Published May 11, 2026
·
Updated

jq is a command-line JSON processor. In 1.8.1 and earlier, jvcontains 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.

Affected Software

1 affected component
jqlang jq<=1.8.1

Event History

May 11, 2026
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What input conditions are required to trigger the stack exhaustion?

The nested array or object must be constructed programmatically, such as with reduce, and then passed through jv_contains. A deeply nested JSON document alone cannot reach the required depth because jq's JSON parser limits nesting to 10,000 levels.

2

What is the likely impact if the issue is triggered?

The C stack is exhausted while jv_contains recursively processes the nested structure. This can cause jq to fail or terminate.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203