Red Hat Security Advisory: 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 jv_parse_sized() 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.
AI Analysis
Technical Summary
jq, a lightweight command-line JSON processor, contains two vulnerabilities: an out-of-bounds read in jv_parse_sized() on error formatting for non-NUL-terminated buffers (CVE-2026-39979), and a denial of service via crafted JSON objects causing hash collisions (CVE-2026-40164). These vulnerabilities affect Red Hat Enterprise Linux 9 and related CodeReady Linux Builder 9 packages across multiple architectures (x86_64, s390x, ppc64le, aarch64). Red Hat has released updated jq packages (version 1.6-19.el9_8.2) to address these issues, as detailed in advisory RHSA-2026:19365. The advisory rates the impact as Important and provides instructions for applying the update.
Potential Impact
The out-of-bounds read vulnerability (CVE-2026-39979) could lead to potential memory safety issues when jq processes non-NUL-terminated buffers, possibly causing crashes or information disclosure. The denial of service vulnerability (CVE-2026-40164) allows an attacker to craft JSON objects that cause hash collisions, leading to resource exhaustion and service disruption. Both vulnerabilities impact the jq utility in Red Hat Enterprise Linux 9 and related products, potentially affecting systems that process untrusted JSON data.
Mitigation Recommendations
Red Hat has released updated jq packages that fix these vulnerabilities. Users of Red Hat Enterprise Linux 9 and CodeReady Linux Builder 9 should apply the security update jq-1.6-19.el9_8.2 or later as provided in advisory RHSA-2026:19365. Detailed update instructions are available at https://access.redhat.com/articles/11258. Applying these updates will mitigate the vulnerabilities. No additional vendor-recommended mitigations or workarounds are indicated.
Red Hat Security Advisory: jq security update
Description
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 jv_parse_sized() 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
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
jq, a lightweight command-line JSON processor, contains two vulnerabilities: an out-of-bounds read in jv_parse_sized() on error formatting for non-NUL-terminated buffers (CVE-2026-39979), and a denial of service via crafted JSON objects causing hash collisions (CVE-2026-40164). These vulnerabilities affect Red Hat Enterprise Linux 9 and related CodeReady Linux Builder 9 packages across multiple architectures (x86_64, s390x, ppc64le, aarch64). Red Hat has released updated jq packages (version 1.6-19.el9_8.2) to address these issues, as detailed in advisory RHSA-2026:19365. The advisory rates the impact as Important and provides instructions for applying the update.
Potential Impact
The out-of-bounds read vulnerability (CVE-2026-39979) could lead to potential memory safety issues when jq processes non-NUL-terminated buffers, possibly causing crashes or information disclosure. The denial of service vulnerability (CVE-2026-40164) allows an attacker to craft JSON objects that cause hash collisions, leading to resource exhaustion and service disruption. Both vulnerabilities impact the jq utility in Red Hat Enterprise Linux 9 and related products, potentially affecting systems that process untrusted JSON data.
Mitigation Recommendations
Red Hat has released updated jq packages that fix these vulnerabilities. Users of Red Hat Enterprise Linux 9 and CodeReady Linux Builder 9 should apply the security update jq-1.6-19.el9_8.2 or later as provided in advisory RHSA-2026:19365. Detailed update instructions are available at https://access.redhat.com/articles/11258. Applying these updates will mitigate the vulnerabilities. No additional vendor-recommended mitigations or workarounds are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:19365
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-40164"]
- Cvss Version
- null
Threat ID: 6a1f4e85e29bf47b5007d9b9
Added to database: 06/02/2026, 21:43:33 UTC
Last enriched: 07/10/2026, 12:55:56 UTC
Last updated: 07/31/2026, 19:24:46 UTC
Views: 141
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.