nginx release-1.31.0

release-1.31.0
Added 3
  • Add support for HTTP forward proxy
  • Add least_time load-balancing method
  • Add ALPN support for stream proxy_ssl upstream
Changed 6
  • Restrict duplicate TE headers in HTTP/2 and HTTP/3
  • Optimize HTTP/3 encoder stream memory usage
  • Improve path validation for DAV COPY and MOVE operations
  • Evaluate stream proxy_ssl_alpn once
  • Fix SSL logging level for SSL_R_RECORD_LAYER_FAILURE
  • Add synonym for upstream sticky module configure option
Fixed 5
  • Fix empty body buffering special case in request body handling
  • Fix keepalive for HTTP/2 proxy when no body is specified
  • Fix gcc version detection in configure in some corner cases
  • Reject HTTP CONNECT method with no port after colon
  • Prevent undefined behaviour in memcpy via ngx_init_cycle
Security 6
  • Fix HTTP/2 request injection vulnerability in ngx_http_proxy_module (CVE-2026-42926)
  • Fix buffer overflow vulnerability in ngx_http_rewrite_module (CVE-2026-42945)
  • Fix buffer overread vulnerabilities in ngx_http_scgi_module and ngx_http_uwsgi_module (CVE-2026-42946)
  • Fix buffer overread vulnerability in ngx_http_charset_module (CVE-2026-42934)
  • Fix address spoofing vulnerability in HTTP/3 (CVE-2026-40460)
  • Fix use-after-free vulnerability in OCSP requests to resolver (CVE-2026-40701)

nginx-1.31.0 mainline version has been released with fixes for HTTP/2 request injection vulnerability in the ngx_http_proxy_module (CVE-2026-42926), buffer overflow vulnerability in the ngx_http_rewrite_module (CVE-2026-42945), buffer overread vulnerabilities in the ngx_http_scgi_module and ngx_http_uwsgi_module (CVE-2026-42946), buffer overread vulnerability in the ngx_http_charset_module (CVE-2026-42934), address spoofing vulnerability in HTTP/3 (CVE-2026-40460), and use-after-free vulnerability in OCSP requests to resolver (CVE-2026-40701). Additionally, the release features support for HTTP forward proxy and least_time load-balancing method.

See official CHANGES on nginx.org.

Below is a release summary generated by GitHub.

What's Changed
New Contributors

Full Changelog: https://github.com/nginx/nginx/compare/release-1.29.8...release-1.31.0

View original

Upgraded? How did it go?

Discussion