p PatchFirst

CVE-2026-9256

CVE-2026-9256 · NGINX ngx_http_rewrite_module vulnerability

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.2 · Critical · EPSS 2.7% · Fix available

Published
Updated

Stack: system · web

Affected products and versions

  • nginx plus

    Versions
    • ≥ 37.0, < 37.0.1.1: Affected (custom)
    • ≥ R36, < R36 P5: Affected (custom)
    • ≥ R32, < R32 P7: Affected (custom)

    Update to 37.0.1.1

  • nginx

    Versions
    • ≥ 1.31.0, < 1.31.1: Affected (custom)
    • ≥ 1.30.0, < 1.30.2: Affected (custom)
    • ≥ 0.1.17, ≤ 0.9.7: Affected (custom)

    Update to 1.30.2; Update to 1.31.1

  • nginx Debian:12

    Versions
    • 1.22.1-9
    • 1.22.1-9+deb12u1
    • 1.22.1-9+deb12u2
    • 1.22.1-9+deb12u3
    • 1.22.1-9+deb12u4
    • 1.22.1-9+deb12u5
    • 1.22.1-9+deb12u6
    • 1.22.1-9+deb12u7
    Affected ranges
    • ECOSYSTEM: < 1.22.1-9+deb12u8

    Update to 1.22.1-9+deb12u8

  • nginx Debian:13

    Versions
    • 1.26.3-3
    • 1.26.3-3+deb13u1
    • 1.26.3-3+deb13u2
    • 1.26.3-3+deb13u3
    • 1.26.3-3+deb13u4
    • 1.26.3-3+deb13u5
    Affected ranges
    • ECOSYSTEM: < 1.26.3-3+deb13u6

    Update to 1.26.3-3+deb13u6

  • nginx Debian:14

    Versions
    • 1.26.3-3
    • 1.28.0-1
    • 1.28.0-2
    • 1.28.0-3
    • 1.28.0-4
    • 1.28.0-5
    • 1.28.0-6
    • 1.28.1-1
    • 1.28.1-2
    • 1.28.1-3
    • 1.28.2-1
    • 1.28.2-2
    • 1.28.2-3
    • 1.28.2-4
    • 1.28.3-1
    • 1.28.3-2
    • 1.30.0-1
    • 1.30.0-2
    • 1.30.0-3
    • 1.30.0-4
    • 1.30.1-1
    • 1.30.1-2
    Affected ranges
    • ECOSYSTEM: < 1.30.1-3

    Update to 1.30.1-3

  • nginx Ubuntu:Pro:14.04:LTS

    Versions
    • 1.4.1-3ubuntu1
    • 1.4.3-2ubuntu1
    • 1.4.4-1ubuntu1
    • 1.4.4-2ubuntu1
    • 1.4.4-4ubuntu1
    • 1.4.5-1ubuntu1
    • 1.4.6-1ubuntu2
    • 1.4.6-1ubuntu3
    • 1.4.6-1ubuntu3.1
    • 1.4.6-1ubuntu3.2
    • 1.4.6-1ubuntu3.3
    • 1.4.6-1ubuntu3.4
    • 1.4.6-1ubuntu3.5
    • 1.4.6-1ubuntu3.6
    • 1.4.6-1ubuntu3.7
    • 1.4.6-1ubuntu3.8
    • 1.4.6-1ubuntu3.9
    • 1.4.6-1ubuntu3.9+esm1
    • 1.4.6-1ubuntu3.9+esm2
    • 1.4.6-1ubuntu3.9+esm3
    • 1.4.6-1ubuntu3.9+esm4
    • 1.4.6-1ubuntu3.9+esm5
    Affected ranges
    • ECOSYSTEM: < 1.4.6-1ubuntu3.9+esm6

    Update to 1.4.6-1ubuntu3.9+esm6

  • nginx Ubuntu:Pro:16.04:LTS

    Versions
    • 1.9.3-1ubuntu1
    • 1.9.6-2ubuntu1
    • 1.9.6-2ubuntu2
    • 1.9.9-0ubuntu1
    • 1.9.9-1ubuntu1
    • 1.9.10-0ubuntu1
    • 1.9.10-1ubuntu1
    • 1.9.11-0ubuntu1
    • 1.9.11-0ubuntu2
    • 1.9.12-0ubuntu1
    • 1.9.13-0ubuntu1
    • 1.9.14-0ubuntu1
    • 1.9.15-0ubuntu1
    • 1.10.0-0ubuntu0.16.04.1
    • 1.10.0-0ubuntu0.16.04.2
    • 1.10.0-0ubuntu0.16.04.3
    • 1.10.0-0ubuntu0.16.04.4
    • 1.10.3-0ubuntu0.16.04.1
    • 1.10.3-0ubuntu0.16.04.2
    • 1.10.3-0ubuntu0.16.04.3
    • 1.10.3-0ubuntu0.16.04.4
    • 1.10.3-0ubuntu0.16.04.5
    • 1.10.3-0ubuntu0.16.04.5+esm1
    • 1.10.3-0ubuntu0.16.04.5+esm2
    • 1.10.3-0ubuntu0.16.04.5+esm3
    • 1.10.3-0ubuntu0.16.04.5+esm4
    • 1.10.3-0ubuntu0.16.04.5+esm5
    • 1.10.3-0ubuntu0.16.04.5+esm6
    Affected ranges
    • ECOSYSTEM: < 1.10.3-0ubuntu0.16.04.5+esm7

    Update to 1.10.3-0ubuntu0.16.04.5+esm7

  • nginx Ubuntu:Pro:18.04:LTS

    Versions
    • 1.12.1-0ubuntu2
    • 1.13.6-2ubuntu1
    • 1.13.6-2ubuntu2
    • 1.13.10-1ubuntu1
    • 1.13.12-0ubuntu1
    • 1.14.0-0ubuntu1
    • 1.14.0-0ubuntu1.1
    • 1.14.0-0ubuntu1.2
    • 1.14.0-0ubuntu1.3
    • 1.14.0-0ubuntu1.4
    • 1.14.0-0ubuntu1.5
    • 1.14.0-0ubuntu1.6
    • 1.14.0-0ubuntu1.7
    • 1.14.0-0ubuntu1.9
    • 1.14.0-0ubuntu1.10
    • 1.14.0-0ubuntu1.11
    • 1.14.0-0ubuntu1.11+esm1
    Affected ranges
    • ECOSYSTEM: < 1.14.0-0ubuntu1.11+esm2

    Update to 1.14.0-0ubuntu1.11+esm2

  • nginx Ubuntu:Pro:20.04:LTS

    Versions
    • 1.16.1-0ubuntu2
    • 1.16.1-0ubuntu3
    • 1.17.5-0ubuntu1
    • 1.17.6-0ubuntu1
    • 1.17.7-0ubuntu1
    • 1.17.8-0ubuntu1
    • 1.17.8-0ubuntu2
    • 1.17.8-0ubuntu3
    • 1.17.9-0ubuntu1
    • 1.17.9-0ubuntu2
    • 1.17.9-0ubuntu3
    • 1.17.10-0ubuntu1
    • 1.18.0-0ubuntu1
    • 1.18.0-0ubuntu1.2
    • 1.18.0-0ubuntu1.3
    • 1.18.0-0ubuntu1.4
    • 1.18.0-0ubuntu1.5
    • 1.18.0-0ubuntu1.6
    • 1.18.0-0ubuntu1.7
    Affected ranges
    • ECOSYSTEM: < 1.18.0-0ubuntu1.7+esm1

    Update to 1.18.0-0ubuntu1.7+esm1

  • nginx Ubuntu:22.04:LTS

    Versions
    • 1.18.0-6ubuntu11
    • 1.18.0-6ubuntu12
    • 1.18.0-6ubuntu14
    • 1.18.0-6ubuntu14.1
    • 1.18.0-6ubuntu14.2
    • 1.18.0-6ubuntu14.3
    • 1.18.0-6ubuntu14.4
    • 1.18.0-6ubuntu14.5
    • 1.18.0-6ubuntu14.6
    • 1.18.0-6ubuntu14.7
    • 1.18.0-6ubuntu14.8
    • 1.18.0-6ubuntu14.10
    • 1.18.0-6ubuntu14.11
    Affected ranges
    • ECOSYSTEM: < 1.18.0-6ubuntu14.12

    Update to 1.18.0-6ubuntu14.12

  • nginx Ubuntu:24.04:LTS

    Versions
    • 1.24.0-1ubuntu1
    • 1.24.0-2ubuntu1
    • 1.24.0-2ubuntu2
    • 1.24.0-2ubuntu3
    • 1.24.0-2ubuntu4
    • 1.24.0-2ubuntu6
    • 1.24.0-2ubuntu7
    • 1.24.0-2ubuntu7.1
    • 1.24.0-2ubuntu7.3
    • 1.24.0-2ubuntu7.4
    • 1.24.0-2ubuntu7.5
    • 1.24.0-2ubuntu7.6
    • 1.24.0-2ubuntu7.7
    • 1.24.0-2ubuntu7.8
    Affected ranges
    • ECOSYSTEM: < 1.24.0-2ubuntu7.9

    Update to 1.24.0-2ubuntu7.9

  • nginx Ubuntu:25.10

    Versions
    • 1.26.3-2ubuntu1
    • 1.26.3-3ubuntu1
    • 1.26.3-3ubuntu2
    • 1.26.3-3ubuntu3
    • 1.28.0-3ubuntu1
    • 1.28.0-4ubuntu1
    • 1.28.0-6ubuntu1
    • 1.28.0-6ubuntu1.1
    • 1.28.0-6ubuntu1.2
    • 1.28.0-6ubuntu1.3
    Affected ranges
    • ECOSYSTEM: < 1.28.0-6ubuntu1.4

    Update to 1.28.0-6ubuntu1.4

  • nginx Ubuntu:26.04:LTS

    Versions
    • 1.28.0-6ubuntu1
    • 1.28.1-2ubuntu1
    • 1.28.1-3ubuntu1
    • 1.28.2-2ubuntu1
    • 1.28.3-2ubuntu1
    • 1.28.3-2ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 1.28.3-2ubuntu1.2

    Update to 1.28.3-2ubuntu1.2

Original sources

Check your server →