Red Hat Security Advisory: jq security update
Two security vulnerabilities have been identified in jq, a command-line JSON processor included in Red Hat Enterprise Linux 8 and related products. The first vulnerability (CVE-2026-39979) involves an out-of-bounds read in the jv_parse_sized() function when handling non-NUL-terminated buffers. The second vulnerability (CVE-2026-40164) allows denial of service via crafted JSON objects causing hash collisions. Red Hat has issued an important security advisory (RHSA-2026:16252) addressing these issues with updated jq packages. The vulnerabilities affect multiple architectures and variants of Red Hat Enterprise Linux 8 and CodeReady Linux Builder. No known exploits in the wild have been reported. A fix is available through the updated packages provided by Red Hat. Users should apply the update as described in the vendor advisory to remediate these vulnerabilities.
AI Analysis
Technical Summary
The jq utility in Red Hat Enterprise Linux 8 and related products contains two security flaws. CVE-2026-39979 is an out-of-bounds read vulnerability in the jv_parse_sized() function triggered by error formatting of non-NUL-terminated buffers. CVE-2026-40164 is a denial of service vulnerability caused by crafted JSON objects that induce hash collisions. These issues could lead to application crashes or denial of service conditions when processing malicious JSON input. Red Hat has released updated jq packages to fix these vulnerabilities across multiple supported architectures and product variants. The advisory RHSA-2026:16252 provides details and instructions for applying the update.
Potential Impact
Successful exploitation of CVE-2026-39979 could cause out-of-bounds memory reads, potentially leading to application crashes or other undefined behavior when jq processes malformed JSON input. CVE-2026-40164 enables denial of service by causing hash collisions through crafted JSON objects, which can degrade or halt jq's operation. These vulnerabilities impact jq usage on affected Red Hat Enterprise Linux 8 systems and related products. No evidence of active exploitation in the wild has been reported.
Mitigation Recommendations
Red Hat has released updated jq packages that address these vulnerabilities. Users of affected Red Hat Enterprise Linux 8 and CodeReady Linux Builder products should apply the security update as described in Red Hat advisory RHSA-2026:16252 (https://access.redhat.com/articles/11258). Applying this update will remediate the out-of-bounds read and denial of service issues. No additional mitigation steps are indicated by the vendor advisory.
Red Hat Security Advisory: jq security update
Description
Two security vulnerabilities have been identified in jq, a command-line JSON processor included in Red Hat Enterprise Linux 8 and related products. The first vulnerability (CVE-2026-39979) involves an out-of-bounds read in the jv_parse_sized() function when handling non-NUL-terminated buffers. The second vulnerability (CVE-2026-40164) allows denial of service via crafted JSON objects causing hash collisions. Red Hat has issued an important security advisory (RHSA-2026:16252) addressing these issues with updated jq packages. The vulnerabilities affect multiple architectures and variants of Red Hat Enterprise Linux 8 and CodeReady Linux Builder. No known exploits in the wild have been reported. A fix is available through the updated packages provided by Red Hat. Users should apply the update as described in the vendor advisory to remediate these vulnerabilities.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The jq utility in Red Hat Enterprise Linux 8 and related products contains two security flaws. CVE-2026-39979 is an out-of-bounds read vulnerability in the jv_parse_sized() function triggered by error formatting of non-NUL-terminated buffers. CVE-2026-40164 is a denial of service vulnerability caused by crafted JSON objects that induce hash collisions. These issues could lead to application crashes or denial of service conditions when processing malicious JSON input. Red Hat has released updated jq packages to fix these vulnerabilities across multiple supported architectures and product variants. The advisory RHSA-2026:16252 provides details and instructions for applying the update.
Potential Impact
Successful exploitation of CVE-2026-39979 could cause out-of-bounds memory reads, potentially leading to application crashes or other undefined behavior when jq processes malformed JSON input. CVE-2026-40164 enables denial of service by causing hash collisions through crafted JSON objects, which can degrade or halt jq's operation. These vulnerabilities impact jq usage on affected Red Hat Enterprise Linux 8 systems and related products. No evidence of active exploitation in the wild has been reported.
Mitigation Recommendations
Red Hat has released updated jq packages that address these vulnerabilities. Users of affected Red Hat Enterprise Linux 8 and CodeReady Linux Builder products should apply the security update as described in Red Hat advisory RHSA-2026:16252 (https://access.redhat.com/articles/11258). Applying this update will remediate the out-of-bounds read and denial of service issues. No additional mitigation steps are indicated by the vendor advisory.
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:16252
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-40164"]
- Cvss Version
- null
Threat ID: 6a1f4e85e29bf47b5007dc60
Added to database: 6/2/2026, 9:43:33 PM
Last enriched: 6/2/2026, 9:49:07 PM
Last updated: 6/3/2026, 5:03:45 AM
Views: 2
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.