jqlangのjqにおける複数の脆弱性
| Title |
jqlangのjqにおける複数の脆弱性
|
| Summary |
jqはコマンドラインJSONプロセッサです。バージョン1.8.1およびそれ以前のバージョンでは、jqのバイトコードVMのデータスタックが割り当てサイズを符号付き整数で管理しています。スタックが約1GiBを超えて成長すると(深くネストされたジェネレーターフォークによって)、倍増する算術演算がオーバーフローします。オーバーフローした値がreallocに渡され、その後、攻撃者が影響を与えたオフセットを用いてmemmoveが実行されます。
|
| 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:N/A:H |
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-41257
| Summary |
jq is a command-line JSON processor. In 1.8.1 and earlier, the jq bytecode VM's data stack tracks its allocation size in a signed int. When the stack grows beyond ≈1 GiB (via deeply nested generator forks), the doubling arithmetic overflows. The wrapped value is passed to realloc and then used for a memmove with attacker-influenced offsets.
|
| Publication Date |
May 12, 2026, 3:16 a.m. |
| Registration Date |
May 12, 2026, 4:14 a.m. |
| Last Update |
May 14, 2026, 2:01 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