製品・ソフトウェアに関する情報
F5 NetworksのDoS等の複数製品におけるヒープベースのバッファオーバーフローの脆弱性
Title F5 NetworksのDoS等の複数製品におけるヒープベースのバッファオーバーフローの脆弱性
Summary

NGINX PlusおよびNGINXオープンソースには、ngx_http_rewrite_moduleモジュールに脆弱性があります。この脆弱性は、rewriteディレクティブの後にrewrite、if、またはsetディレクティブが続き、かつ置換文字列に疑問符(?)を含む名前なしのPerl互換正規表現(PCRE)キャプチャ(例えば、$1、$2)がある場合に存在します。認証されていない攻撃者が制御不能な条件とともに巧妙に作成したHTTPリクエストを送信することで、この脆弱性を悪用できます。これにより、NGINXのワーカープロセスでヒープバッファオーバーフローが発生し、再起動を引き起こす可能性があります。さらに、攻撃者はASLR(アドレス空間配置のランダム化)が無効化されているシステムやASLRを回避できる場合にコードを実行することが可能です。注意:技術サポート終了(EoTS)となったソフトウェアバージョンは評価の対象外です。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

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

Publication Date May 13, 2026, midnight
Registration Date June 22, 2026, 11:37 a.m.
Last Update June 22, 2026, 11:37 a.m.
CVSS3.0 : 重要
Score 8.1
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
F5 Networks
DoS 4.3.0 から 4.7.0
DoS 4.8.0
NGINX Gateway Fabric 1.3.0 から 1.6.2
NGINX Gateway Fabric 2.0.0 から 2.5.1
NGINX Ingress Controller 3.5.0 から 3.7.2
NGINX Ingress Controller 4.0.0 から 4.0.1
NGINX Ingress Controller 5.0.0 から 5.4.1
NGINX Instance Manager 2.16.0 から 2.21.1
nginx open source 0.6.27 から 1.30.0
NGINX plus r32 から r36
WAF 4.9.0 から 4.16.0
WAF 5.1.0 から 5.8.0
WAF 5.9.0 から 5.12.1
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月22日]
  掲載
June 22, 2026, 11:37 a.m.

NVD Vulnerability Information
CVE-2026-42945
Summary

NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its 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, for systems with Address Space Layout Randomization (ASLR ) disabled, code execution is possible.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

Publication Date May 14, 2026, 1:16 a.m.
Registration Date May 15, 2026, 4:21 a.m.
Last Update May 14, 2026, 11:17 a.m.
Related information, measures and tools
Common Vulnerabilities List