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 10. 0 Extended Update Support. 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 is a denial of service vulnerability caused by crafted JSON objects that induce hash collisions (CVE-2026-40164). Red Hat has issued an important security advisory and released updated jq packages addressing these issues. The vulnerabilities are rated with high severity by Red Hat Product Security. No known exploits in the wild have been reported. Updated packages are available for multiple architectures and variants of Red Hat Enterprise Linux 10. 0 EUS. Users are advised to apply the provided updates to remediate these vulnerabilities.
AI Analysis
Technical Summary
jq is a lightweight command-line tool for processing JSON data. Two vulnerabilities were found: an out-of-bounds read in the jv_parse_sized() function when handling non-NUL-terminated buffers (CVE-2026-39979), and a denial of service via crafted JSON objects causing hash collisions (CVE-2026-40164). These issues could lead to memory safety problems and service disruption. Red Hat released updated jq packages for Red Hat Enterprise Linux 10.0 Extended Update Support to fix these vulnerabilities. The advisory RHSA-2026:18040 provides details and instructions for applying the update. No CVSS scores are provided, but the severity is rated as important/high by Red Hat.
Potential Impact
The out-of-bounds read vulnerability could cause memory safety issues potentially leading to crashes or undefined behavior when jq processes malformed JSON input. The denial of service vulnerability allows an attacker to craft JSON objects that cause hash collisions, potentially leading to resource exhaustion and service disruption. These vulnerabilities affect jq versions included in Red Hat Enterprise Linux 10.0 Extended Update Support and related CodeReady Linux Builder variants. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Red Hat has released updated jq packages that address these vulnerabilities. Users of affected Red Hat Enterprise Linux 10.0 Extended Update Support versions and related CodeReady Linux Builder products should apply the updates as described in Red Hat advisory RHSA-2026:18040 and the article https://access.redhat.com/articles/11258. Applying these official patches is the recommended remediation. Patch status is confirmed as available from 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 10. 0 Extended Update Support. 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 is a denial of service vulnerability caused by crafted JSON objects that induce hash collisions (CVE-2026-40164). Red Hat has issued an important security advisory and released updated jq packages addressing these issues. The vulnerabilities are rated with high severity by Red Hat Product Security. No known exploits in the wild have been reported. Updated packages are available for multiple architectures and variants of Red Hat Enterprise Linux 10. 0 EUS. Users are advised to apply the provided updates to remediate these vulnerabilities.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
jq is a lightweight command-line tool for processing JSON data. Two vulnerabilities were found: an out-of-bounds read in the jv_parse_sized() function when handling non-NUL-terminated buffers (CVE-2026-39979), and a denial of service via crafted JSON objects causing hash collisions (CVE-2026-40164). These issues could lead to memory safety problems and service disruption. Red Hat released updated jq packages for Red Hat Enterprise Linux 10.0 Extended Update Support to fix these vulnerabilities. The advisory RHSA-2026:18040 provides details and instructions for applying the update. No CVSS scores are provided, but the severity is rated as important/high by Red Hat.
Potential Impact
The out-of-bounds read vulnerability could cause memory safety issues potentially leading to crashes or undefined behavior when jq processes malformed JSON input. The denial of service vulnerability allows an attacker to craft JSON objects that cause hash collisions, potentially leading to resource exhaustion and service disruption. These vulnerabilities affect jq versions included in Red Hat Enterprise Linux 10.0 Extended Update Support and related CodeReady Linux Builder variants. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
Red Hat has released updated jq packages that address these vulnerabilities. Users of affected Red Hat Enterprise Linux 10.0 Extended Update Support versions and related CodeReady Linux Builder products should apply the updates as described in Red Hat advisory RHSA-2026:18040 and the article https://access.redhat.com/articles/11258. Applying these official patches is the recommended remediation. Patch status is confirmed as available from 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:18040
- Cve Count
- 2
- Additional Cves
- ["CVE-2026-40164"]
- Cvss Version
- null
Threat ID: 6a1f4e85e29bf47b5007dc59
Added to database: 6/2/2026, 9:43:33 PM
Last enriched: 6/2/2026, 9:48:58 PM
Last updated: 6/3/2026, 5:00:19 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.