CVE-2026-39956 | jq: Missing runtime type checks for _strindices lead to crash and limited memory disclosure

Exp

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 maps to a chosen pointer, achieve a controlled pointer dereference and limited memory read/probe primitive. Any deployment that evaluates untrusted jq filters against a release build is vulnerable. This issue has been patched in commit fdf8ef0f0810e3d365cdd5160de43db46f57ed03.

公開: 2026-04-13 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2026-39956 は公開エクスプロイトあり(50/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.17%、7 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2026-39956 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2026-39956 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.01% 0.17% +0.16%
2 2026-04-14 0.01%

EPSS の全履歴 (全 2 件)

CVE-2026-39956 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.1 3.1 MEDIUM
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.8 4.2 [email protected]

CVE-2026-39956 の弱点分類(列挙)

CVE-2026-39956 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2026-39956 not yet assigned priority: Debian including 1 source packages (jq), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2026-39956
redhat medium https://access.redhat.com/security/cve/CVE-2026-39956
suse medium https://www.suse.com/security/cve/CVE-2026-39956/
ubuntu medium CVE-2026-39956 medium priority: Ubuntu including 1 source packages (jq), 9 status rows across 9 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream, xenial): released 8, not-affected 1. https://ubuntu.com/security/CVE-2026-39956

CVE-2026-39956 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
jqlang jq >= 2026-04-02, < 2026-04-08 cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:*

CVE-2026-39956 の参考情報

cvelogic Threat Intelligence