Red Hat Security Advisory: jq security update
Two security vulnerabilities have been identified in the jq command-line JSON processor used in Red Hat Enterprise Linux 9. 0. The first is an out-of-bounds read in the jv_parse_sized() function triggered by error formatting for non-NUL-terminated buffers (CVE-2026-39979). The second vulnerability allows denial of service via crafted JSON objects causing hash collisions (CVE-2026-40164). Red Hat has issued an important security advisory with updates addressing these issues. The vulnerabilities affect multiple architectures of Red Hat Enterprise Linux 9. 0 and related packages. No CVSS scores are provided, but the severity is rated as high by Red Hat. No known exploits in the wild have been reported. Updated packages are available to remediate these vulnerabilities.
AI Analysis
Technical Summary
The jq JSON processor in Red Hat Enterprise Linux 9.0 contains two security flaws: 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 vulnerability caused by hash collisions from crafted JSON objects (CVE-2026-40164). These issues could lead to application crashes or denial of service conditions when processing malicious JSON input. Red Hat has released updated jq packages for multiple architectures (x86_64, ppc64le, aarch64, s390x) to address these vulnerabilities. The advisory classifies the impact as important and high severity. The vendor provides detailed update instructions and package downloads via their security advisory portal.
Potential Impact
The out-of-bounds read vulnerability may cause jq to read memory beyond allocated buffers, potentially leading to crashes or undefined behavior. The denial of service vulnerability allows attackers to craft JSON input that triggers hash collisions, causing jq to consume excessive resources and become unresponsive. Both vulnerabilities impact jq's reliability and availability when processing untrusted JSON data. There are no reports of exploitation in the wild. The vulnerabilities affect Red Hat Enterprise Linux 9.0 and related jq packages across multiple hardware architectures.
Mitigation Recommendations
Red Hat has released updated jq packages that fix these vulnerabilities. Users of affected Red Hat Enterprise Linux 9.0 versions should apply the security update as described in Red Hat advisory RHSA-2026:18045 and the referenced article https://access.redhat.com/articles/11258. Applying these official patches is the recommended remediation. No additional mitigation steps are indicated by the vendor advisory. Patch status is confirmed as official fix available.
Red Hat Security Advisory: jq security update
Description
Two security vulnerabilities have been identified in the jq command-line JSON processor used in Red Hat Enterprise Linux 9. 0. The first is an out-of-bounds read in the jv_parse_sized() function triggered by error formatting for non-NUL-terminated buffers (CVE-2026-39979). The second vulnerability allows denial of service via crafted JSON objects causing hash collisions (CVE-2026-40164). Red Hat has issued an important security advisory with updates addressing these issues. The vulnerabilities affect multiple architectures of Red Hat Enterprise Linux 9. 0 and related packages. No CVSS scores are provided, but the severity is rated as high by Red Hat. No known exploits in the wild have been reported. Updated packages are available to remediate these vulnerabilities.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The jq JSON processor in Red Hat Enterprise Linux 9.0 contains two security flaws: 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 vulnerability caused by hash collisions from crafted JSON objects (CVE-2026-40164). These issues could lead to application crashes or denial of service conditions when processing malicious JSON input. Red Hat has released updated jq packages for multiple architectures (x86_64, ppc64le, aarch64, s390x) to address these vulnerabilities. The advisory classifies the impact as important and high severity. The vendor provides detailed update instructions and package downloads via their security advisory portal.
Potential Impact
The out-of-bounds read vulnerability may cause jq to read memory beyond allocated buffers, potentially leading to crashes or undefined behavior. The denial of service vulnerability allows attackers to craft JSON input that triggers hash collisions, causing jq to consume excessive resources and become unresponsive. Both vulnerabilities impact jq's reliability and availability when processing untrusted JSON data. There are no reports of exploitation in the wild. The vulnerabilities affect Red Hat Enterprise Linux 9.0 and related jq packages across multiple hardware architectures.
Mitigation Recommendations
Red Hat has released updated jq packages that fix these vulnerabilities. Users of affected Red Hat Enterprise Linux 9.0 versions should apply the security update as described in Red Hat advisory RHSA-2026:18045 and the referenced article https://access.redhat.com/articles/11258. Applying these official patches is the recommended remediation. No additional mitigation steps are indicated by the vendor advisory. Patch status is confirmed as official fix available.
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:18045
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-40164"]
- Cvss Version
- null
Threat ID: 6a1f4e85e29bf47b5007dc67
Added to database: 6/2/2026, 9:43:33 PM
Last enriched: 6/2/2026, 9:49:17 PM
Last updated: 6/3/2026, 4:59:14 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.