RLSA-2026:98496: Important: jq security update
jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data. You can use it to slice, filter, map, or transform structured data with the same ease that sed, awk, grep, or similar applications allow you to manipulate text.
Security Fix(es):
jq: out-of-bounds read in jvparsesized() on error formatting for non-NUL-terminated buffers (CVE-2026-39979)
jq: jq: Denial of Service via crafted JSON object causing hash collisions (CVE-2026-40164)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rocky-linux/jqto a version that resolves this vulnerability.Fixed in 0:1.6-21.el9_9 - Upgrade
Upgrade
rocky-linux/jq-debuginfoto a version that resolves this vulnerability.Fixed in 0:1.6-21.el9_9 - Upgrade
Upgrade
rocky-linux/jq-debugsourceto a version that resolves this vulnerability.Fixed in 0:1.6-21.el9_9 - Upgrade
Upgrade
rocky-linux/jq-develto a version that resolves this vulnerability.Fixed in 0:1.6-21.el9_9
Event History
Frequently Asked Questions
Which installed packages are covered by this update?
The update covers rocky-linux/jq, rocky-linux/jq-debuginfo, rocky-linux/jq-debugsource, and rocky-linux/jq-devel.
What security impacts are identified?
The advisory identifies an out-of-bounds read in jv_parse_sized() during error formatting of non-NUL-terminated buffers, and a denial of service caused by crafted JSON objects producing hash collisions.
Does exploitation require authentication or user interaction?
The provided CVSS vector lists network attack vector, low attack complexity, no privileges required, and no user interaction. It also indicates low confidentiality impact and high availability impact.