F5 Networksのnginx open source等の複数製品におけるヒープベースのバッファオーバーフローの脆弱性
タイトル F5 Networksのnginx open source等の複数製品におけるヒープベースのバッファオーバーフローの脆弱性
概要

NGINX PlusおよびNGINXオープンソースには、ngx_http_rewrite_moduleモジュールに脆弱性があります。この脆弱性は、rewriteディレクティブが異なるが重複するPerl互換正規表現(PCRE)キャプチャ(例:^/((.*))$)を含む正規表現パターンと、複数のそのようなキャプチャを参照する置換文字列(例:$1$2)をリダイレクトまたは引数コンテキストで使用する場合に存在します。認証されていない攻撃者は、自身の制御を超えた条件とともに細工されたHTTPリクエストを送信することで、この脆弱性を悪用できます。これにより、NGINXワーカープロセスでヒープバッファオーバーフローが発生し、プロセスが再起動される可能性があります。さらに、ASLR(アドレス空間配置のランダム化)が無効化されているシステムや攻撃者がASLRを回避できる場合、攻撃者はコードを実行できます。なお、技術サポート終了(EoTS)を迎えたソフトウェアバージョンについては評価されていません。

想定される影響 ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年5月22日0:00
登録日 2026年6月17日15:37
最終更新日 2026年6月17日15:37
CVSS3.0 : 重要
スコア 8.1
ベクター CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
影響を受けるシステム
F5 Networks
nginx open source 0.1.17 から 0.9.7
nginx open source 1.0.0 から 1.30.1
nginx open source 1.31.0
NGINX plus 37.0.0 以上 37.0.1.1 未満
NGINX plus r32 から r36
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2026年06月17日]
  掲載
2026年6月17日15:37

NVD脆弱性情報
CVE-2026-9256
概要

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses a regex pattern with distinct, overlapping Perl-Compatible Regular Expression (PCRE) captures (for example, ^/((.*))$) and a replacement string that references multiple such captures (for example, $1$2) in a redirect or arguments context. An unauthenticated attacker along with conditions beyond their control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR.

Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

公表日 2026年5月23日0:16
登録日 2026年5月27日4:05
最終更新日 2026年5月23日10:16
関連情報、対策とツール
共通脆弱性一覧