PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-39956 jqlang CVE debrief

The CVE-2026-39956 vulnerability affects the jq command-line JSON processor, specifically versions prior to 1.8.2. This vulnerability allows an attacker to crash jq and potentially achieve a controlled pointer dereference, limited memory read, or probe primitive. The issue arises from the _strindices builtin in jq's src/builtin.c passing arguments directly to jv_string_indexes() without verifying they are strings. This problem is exacerbated in release builds compiled with -DNDEBUG, where assert() checks are stripped. Deployments evaluating untrusted jq filters are vulnerable. Users should update to version 1.8.2 or later to mitigate this vulnerability. The CVE record was published on 2026-04-13T23:16:27.653Z and has not been modified since then.

Vendor
jqlang
Product
jq
CVSS
MEDIUM 6.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-13
Original CVE updated
2026-09-04
Advisory published
2026-04-13
Advisory updated
2026-09-04

Who should care

Users of jq, especially those evaluating untrusted jq filters, should be aware of this vulnerability and take steps to mitigate it. Organizations using jq should prioritize updating to version 1.8.2 or later. Security teams should review compensating controls and monitor jq deployments for unusual activity. Affected operators and platforms should verify their jq versions and apply patches or mitigations as needed. This includes reviewing the current jq version in use, assessing the risk of exposure, and implementing necessary updates or mitigations.

Technical summary

The _strindices builtin in jq's src/builtin.c passes arguments directly to jv_string_indexes() without verifying they are strings. This allows crashes and potential controlled pointer dereferences. Patched in version 1.8.2. The vulnerability affects jq deployments that evaluate untrusted jq filters, especially those using release builds compiled with -DNDEBUG. Users should update to version 1.8.2 or later to mitigate this vulnerability. Affected deployments should verify their jq versions and apply patches or mitigations as needed.

Defensive priority

Organizations using jq should prioritize updating to version 1.8.2 or later to mitigate this vulnerability.

Recommended defensive actions

  • Update jq to version 1.8.2 or later
  • Restrict jq filter evaluations to trusted sources
  • Monitor jq deployments for unusual activity
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE-2026-39956 vulnerability in jq allows an attacker to crash the processor and potentially achieve a controlled pointer dereference. The issue is patched in version 1.8.2. Evidence is based on official CVE and NVD records. Affected deployments should verify their jq versions and update to 1.8.2 or later. Defenders should review compensating controls and monitor for unusual activity. The CVE record was published on 2026-04-13T23:16:27.653Z and has not been modified since then.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-39956 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-39956

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-39956 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-39956

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.