Welcome to Centmin Mod Community
Register Now

Security Nginx 1.31.9 and 1.30.7 security updates: 10 vulnerabilities fixed

Discussion in 'Centmin Mod News' started by eva2000, Nov 19, 2026 at 4:40 AM.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    60,551
    12,627
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,292
    Local Time:
    12:44 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Nginx 1.31.9 mainline and 1.30.7 stable came out on 18 November 2026 to fix nginx2root security vulnerabilities and more. Together they fix 10 security vulnerabilities, three of them rated major by nginx.org, in HTTP/2, the resolver, TLS request body handling, HTTP/3, the mail proxy and the stream module. Every nginx version up to 1.31.8 is affected by at least some of them, and the major HTTP/2 flow control and TLS 1.3 request body bugs hit any server that serves HTTPS with HTTP/2 enabled, which is the Centmin Mod default. Please update Nginx now.

    Centmin Mod 132.00stable, 140.00beta01 and 141.00beta01 now default to Nginx 1.31.9. To update, run cmupdate to update your Centmin Mod code first, then run centmin.sh menu option 4 to recompile Nginx with 1.31.9. Updating your Centmin Mod code alone doesn't update the Nginx already running on your server. Only the menu option 4 recompile does that.

    How to update Nginx

    1. Update your Centmin Mod code with the SSH command cmupdate. It does the same as centmin.sh menu option 23 submenu option 2. Skipping this step leaves your server on the old 1.31.8 default and older patch files.
    2. Run centmin.sh menu option 4 (Nginx Upgrade / Downgrade). When asked Install which version of Nginx?, type 1.31.9. If you deliberately run the nginx 1.30 stable branch, type 1.30.7 instead.
    3. Check the running version and your config.

    Code (Text):
    cmupdate
    centmin


    Then choose menu option 4 and enter 1.31.9. Once it finishes, check:

    Code (Text):
    nginx -v
    nginx -t


    nginx -v should report nginx/1.31.9 (or nginx/1.30.7). If it still shows an older version, the menu option 4 run didn't complete. Scroll back through its output or check the log in /root/centminlogs for the first error.

    If you're on Centmin Mod 130.00beta01 or older, update your server to 132.00stable, 140.00beta01 or 141.00beta01 first.

    Security vulnerabilities fixed


    Severity ratings and vulnerable version ranges are as published on the nginx.org security advisories page nginx security advisories

    • CVE-2026-123007: Severity Major; Description Memory corruption in HTTP/2 flow control. A flow control window overflow might let an attacker crash a worker process, with potential other impact; Vulnerable 1.9.5 to 1.31.8; Fixed in 1.31.9, 1.30.7. Researchers demonstrated worker-level RCE!
    • CVE-2026-118899: Severity Major; Description Infinite loop while reading a client request body over TLS 1.3. Worker processes might get stuck in an endless loop; Vulnerable 1.13.0 to 1.31.8; Fixed in 1.31.9, 1.30.7
    • CVE-2026-113425: Severity Major; Description Use-after-free in the mail proxy module; Vulnerable 0.5.33 to 1.31.8; Fixed in 1.31.9, 1.30.7
    • CVE-2026-123634: Severity Medium; Description Use-after-free in the resolver when the same name is resolved in subrequests at the same time. An attacker who can trigger name resolution might crash a worker process, with potential other impact; Vulnerable 0.6.18 to 1.31.8; Fixed in 1.31.9, 1.30.7
    • CVE-2026-123633: Severity Medium; Description Use-after-free in HTTP/2 when worker_connections were not enough; Vulnerable 1.19.7 to 1.31.8; Fixed in 1.31.9, 1.30.7
    • CVE-2026-121810: Severity Medium; Description Use-after-free in HTTP/3 when worker_connections were not enough; Vulnerable 1.25.0 to 1.31.8; Fixed in 1.31.9, 1.30.7
    • CVE-2026-120967: Severity Medium; Description SNI bypass in stream module client certificate validation. Client certificates might be checked against the default server's settings instead of the SNI-selected server's; Vulnerable 1.25.5 to 1.31.8; Fixed in 1.31.9, 1.30.7
    • CVE-2026-120993: Severity Minor; Description NULL pointer dereference when using PROXY protocol version 2 with dynamic SSL certificate loading; Vulnerable 1.31.4 to 1.31.8; Fixed in 1.31.9
    • CVE-2026-125283: Severity Minor; Description Buffer overflow when using alias with try_files in certain configurations; Vulnerable 0.9.6 to 1.31.8; Fixed in 1.31.9, 1.30.7
    • CVE-2026-123640: Severity Minor; Description Insufficient validation in the stream ssl_preread module. Malformed ClientHello messages might be read differently than other TLS implementations read them, which might let an attacker bypass security restrictions; Vulnerable 1.15.2 to 1.31.8; Fixed in 1.31.9, 1.30.7

    Who is affected on Centmin Mod?

    • All Centmin Mod Nginx servers before 1.31.9. HTTP/2 is on by default (NGINX_HTTP2='y'), so the two HTTP/2 bugs and the TLS 1.3 request body bug apply to any server serving HTTPS sites.
    • Resolver. Centmin Mod's default /usr/local/nginx/conf/nginx.conf sets a resolver directive, so CVE-2026-123634 is relevant on default installs.
    • Stream module. Centmin Mod builds Nginx with the stream module and ssl_preread module by default (NGINX_STREAM='y', NGINX_STREAMSSLPREREAD='y'). CVE-2026-120967 and CVE-2026-123640 only matter if you added your own stream {} configuration using client certificate verification or ssl_preread.
    • HTTP/3. CVE-2026-121810 only matters if you enabled HTTP/3 QUIC support (NGINX_QUIC_SUPPORT='y').
    • Mail proxy. Centmin Mod doesn't build the Nginx mail module by default, so CVE-2026-113425 only matters if you added it to a custom build.
    • alias with try_files (CVE-2026-125283) and PROXY protocol v2 with dynamic SSL certificates (CVE-2026-120993) depend on your own vhost configuration.

    Even if you think a specific bug doesn't apply to your configuration, update anyway. The HTTP/2 and TLS ones apply to nearly every Centmin Mod server.

    Behaviour changes in Nginx 1.31.9

    Two changes might affect unusual clients or API integrations:
    • Request header lines without a colon are now rejected.
    • A request is rejected if its chunked request body has too much framing overhead.
    Normal browsers and well-behaved clients aren't affected. If you see new 400 errors from a specific client after updating, check your Nginx error log.

    Nginx changelogs
    Notes
    • Freenginx (FREENGINX_INSTALL='y') and Angie builds aren't official nginx, so these versions don't apply to them. Check the freenginx and Angie projects for their own security releases.
    • If you pinned a version with NGINX_VERSION in /etc/centminmod/custom_config.inc, update or remove that line, or menu option 4 keeps suggesting the old version.
    • Centmin Mod's own Nginx patches, including the optional OpenResty Lua patch set and the optional nginx_upstream_check module patch, were checked against Nginx 1.31.9 and apply cleanly.
     
  2. eva2000

    eva2000 Administrator Staff Member

    60,551
    12,627
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,292
    Local Time:
    12:44 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    If your sites are behind Cloudflare enabled proxy you may have some partial protection from nginx2root nginx2root: five new nginx vulnerabilities, and how Cloudflare protects origins from the worst of them

     
Thread Status:
Not open for further replies.