Bug 2469183 (CVE-2026-40612) - CVE-2026-40612 jq: stack overflow via unbounded recursion in jv_contains
Summary: CVE-2026-40612 jq: stack overflow via unbounded recursion in jv_contains
Keywords:
Status: NEW
Alias: CVE-2026-40612
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2477179
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-11 18:02 UTC by OSIDB Bzimport
Modified: 2026-05-13 17:27 UTC (History)
24 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-11 18:02:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.