CVE Explorer
CVE-2026-39956
jq is a command-line JSON processor. In commits after 69785bf77f86e2ea1b4a20ca86775916889e91c9, the _strindices builtin in jq's src/builtin.c passes its arguments directly to jv_string_indexes() without verifying they are strings, and jv_string_indexes() in src/jv.c relies solely on assert() checks that are stripped in release builds compiled with -DNDEBUG. This allows an attacker to crash jq trivially with input like _strindices(0), and by crafting a numeric value whose IEEE-754 bit pattern map
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-476","description":"CWE-476: NULL Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-843","description":"CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/problemTypes/2/descriptions/0
Affected products and versions
1 source assertion{"product":"jq","vendor":"jqlang","versions":[{"status":"affected","version":">= 69785bf77f86e2ea1b4a20ca86775916889e91c9, < fdf8ef0f0810e3d365cdd5160de43db46f57ed03"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-476","description":"CWE-476: NULL Pointer Dereference","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-843","description":"CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/problemTypes/2/descriptions/0
Source references
3 source assertions{"name":"https://github.com/jqlang/jq/commit/fdf8ef0f0810e3d365cdd5160de43db46f57ed03","tags":["x_refsource_MISC"],"url":"https://github.com/jqlang/jq/commit/fdf8ef0f0810e3d365cdd5160de43db46f57ed03"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/jqlang/jq/security/advisories/GHSA-6gc3-3g9p-xx28"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/adp/0/references/0
{"name":"https://github.com/jqlang/jq/security/advisories/GHSA-6gc3-3g9p-xx28","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jqlang/jq/security/advisories/GHSA-6gc3-3g9p-xx28"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:a4b19282d0aec57015d6ea19dc7fecb652a7cb7feaf0e09d334175e8826b210d · sha256:06b8745b4bb5a1cb… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.