jqlangのjqにおけるNULL バイトまたは NULL キャラクタの無害化に関する脆弱性
| Title |
jqlangのjqにおけるNULL バイトまたは NULL キャラクタの無害化に関する脆弱性
|
| Summary |
jqはコマンドラインのJSONプロセッサです。バージョン1.8.1およびそれ以前のバージョンでは、-fオプションでファイルから読み込まれたトップレベルのjqプログラムが、現在のupstream HEADでは最初の埋め込みNULバイトで切り詰められます。例えば、「.」に続けてヌル文字(\u0000)と任意のサフィックスを含む細工されたフィルタファイルは、ヌル文字の前の部分のみがコンパイルされて実行されます。これにより、JSONパーサの処理はすでに修正されていますが、コンパイル処理ではプレフィックスとフルバッファの不一致がjqに残っています。
|
| Possible impacts |
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 11, 2026, midnight |
| Registration Date |
May 15, 2026, 11:01 a.m. |
| Last Update |
May 15, 2026, 11:01 a.m. |
|
CVSS3.0 : 警告
|
| Score |
5.5
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月15日] 掲載 |
May 15, 2026, 11:01 a.m. |
NVD Vulnerability Information
CVE-2026-41256
| Summary |
jq is a command-line JSON processor. In 1.8.1 and earlier, Top-level jq programs loaded from a file with -f are truncated at the first embedded NUL byte on current upstream HEAD. A crafted filter file such as . followed by \x00 and arbitrary suffix compiles and executes as only the prefix before the NUL. This leaves jq with a post-CVE-2026-33948 prefix/full-buffer mismatch on the compilation path even though the JSON parser path has already been fixed.
|
| Publication Date |
May 12, 2026, 3:16 a.m. |
| Registration Date |
May 12, 2026, 4:14 a.m. |
| Last Update |
May 14, 2026, 2 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:jqlang:jq:*:*:*:*:*:*:*:* |
|
1.8.1 |
|
|
Related information, measures and tools
Common Vulnerabilities List