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
The jq utility in Red Hat Enterprise Linux 10 and related products contains two vulnerabilities: an out-of-bounds read in the jv_parse_sized() function when processing non-NUL-terminated buffers (CVE-2026-39979), and a denial of service vulnerability caused by crafted JSON objects that trigger hash collisions (CVE-2026-40164). These issues could lead to application crashes or denial of service conditions. Red Hat has issued an update (RHSA-2026:19151) that fixes these vulnerabilities across various supported architectures and product variants. The advisory references updated jq packages version 1.7.1-11.el10_2.2 and provides instructions for applying the update. The vulnerabilities are rated as Important by Red Hat, but no CVSS base score is provided.
Potential Impact
Successful exploitation of CVE-2026-39979 could result in out-of-bounds memory reads, potentially causing application crashes or undefined behavior when jq processes malformed JSON input. CVE-2026-40164 could allow an attacker to cause denial of service by crafting JSON objects that produce hash collisions, leading to excessive resource consumption or application unavailability. Both vulnerabilities affect jq as included in Red Hat Enterprise Linux 10 and related products, impacting systems that process untrusted JSON data with jq.
Mitigation Recommendations
Red Hat has released official security updates that address these vulnerabilities in jq for Red Hat Enterprise Linux 10 and related products. Users should apply the updated jq packages as provided in advisory RHSA-2026:19151. The vendor advisory provides detailed instructions and package links for remediation. No additional mitigation steps are indicated beyond applying the official update.
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
The jq utility in Red Hat Enterprise Linux 10 and related products contains two vulnerabilities: an out-of-bounds read in the jv_parse_sized() function when processing non-NUL-terminated buffers (CVE-2026-39979), and a denial of service vulnerability caused by crafted JSON objects that trigger hash collisions (CVE-2026-40164). These issues could lead to application crashes or denial of service conditions. Red Hat has issued an update (RHSA-2026:19151) that fixes these vulnerabilities across various supported architectures and product variants. The advisory references updated jq packages version 1.7.1-11.el10_2.2 and provides instructions for applying the update. The vulnerabilities are rated as Important by Red Hat, but no CVSS base score is provided.
Potential Impact
Successful exploitation of CVE-2026-39979 could result in out-of-bounds memory reads, potentially causing application crashes or undefined behavior when jq processes malformed JSON input. CVE-2026-40164 could allow an attacker to cause denial of service by crafting JSON objects that produce hash collisions, leading to excessive resource consumption or application unavailability. Both vulnerabilities affect jq as included in Red Hat Enterprise Linux 10 and related products, impacting systems that process untrusted JSON data with jq.
Mitigation Recommendations
Red Hat has released official security updates that address these vulnerabilities in jq for Red Hat Enterprise Linux 10 and related products. Users should apply the updated jq packages as provided in advisory RHSA-2026:19151. The vendor advisory provides detailed instructions and package links for remediation. No additional mitigation steps are indicated beyond applying the official update.
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:19151
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-40164"]
- Cvss Version
- null
Threat ID: 6a1f4e85e29bf47b5007dc4b
Added to database: 06/02/2026, 21:43:33 UTC
Last enriched: 07/10/2026, 12:55:04 UTC
Last updated: 07/31/2026, 19:24:46 UTC
Views: 77
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.