{"id":184322,"date":"2026-11-19T03:36:31","date_gmt":"2026-11-19T01:36:31","guid":{"rendered":"https:\/\/prohoster.info\/blog\/news\/nginx2root-uyazvimosti-v-nginx-pozvolyayushhie-vypolnit-kod-pri-ispolzovanii-http-2-ili-http-3"},"modified":"2026-11-19T03:36:35","modified_gmt":"2026-11-19T01:36:35","slug":"nginx2root-nginx-vulnerabilities-allow-code-execution-when-using-http2-or-http3","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/nginx2root-nginx-vulnerabilities-allow-code-execution-when-using-http2-or-http3","title":{"rendered":"NGINX2Root \u2014 vulnerabilities in nginx that allow code execution when using HTTP\/2 or HTTP\/3","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Xint has identified five vulnerabilities in nginx, codenamed NGINX2Root. The most critical vulnerability (CVE-2026-123007) allows for code execution with process privileges when the server receives requests using the HTTP\/2 protocol. The other four issues also permit remote code execution but manifest under specific configurations or require certain conditions to be exploited. Additionally, researchers from Xint have discovered a new vulnerability in the SCTP subsystem of the Linux kernel, which allows a local user to gain root privileges on the system and bypass container isolation. Exploits have been prepared for all five vulnerabilities in nginx, which chain the exploitation of vulnerabilities in nginx and the Linux kernel for remote code execution with root privileges on a Linux server, even if nginx is running in a Docker container.    <\/p>\n<p>The issues have been fixed in releases nginx 1.30.7 and 1.31.9, which also address 5 additional vulnerabilities aside from the noted problems. The status of vulnerability fixes in distributions can be evaluated on the following pages: Debian, Ubuntu, SUSE\/openSUSE, RHEL, Gentoo, Arch, Fedora, FreeBSD, Rosa, ALT. As a workaround to block these vulnerabilities, it is recommended to disable support for HTTP\/2 and HTTP\/3 protocols in the nginx settings by setting \"http2 off;\" and \"http3 off;\" in each \"server\" block, ensuring that the directives listen do not include the \"http2\" and \"quic\" parameters, and also remove settings that lead to DNS resolution of hostnames during request processing (for example, when using constructs like \"proxy_pass http:\/\/$host;\" to forward connections to the backend).      <\/p>\n<p>Regarding the vulnerability in the Linux kernel, it leads to a call to already freed memory or a double free of memory in the SCTP protocol implementation. The issue has been present since release 4.15 (January 2018) and remains unpatched. No CVE has been assigned. Details and exploits have not yet been publicly disclosed. An attack requires the presence of the sctp kernel module in the system (which is by default included in many distributions and is loaded automatically when an SCTP socket is opened). To block the loading of the sctp module, it is recommended to create a configuration file \/etc\/modprobe.d\/sctp.conf containing \"install sctp \/bin\/false\".      <\/p>\n<p>Identified issues in nginx:  <\/p>\n<ul>\n<li class=\"l\"> CVE-2026-123007 \u2014 an integer overflow in the HTTP\/2 flow control management code, allowing reading and writing data outside the allocated buffer. Reading from outside the buffer enables the determination of the memory layout, and writing allows overwriting the pointer to the cleanup function, achieving the execution of arbitrary code with the rights of the worker process. An attack simply requires enabling HTTP\/2 request handling on <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-newyork\/\"   title=\"server\" data-wpil-keyword-link=\"linked\">server<\/a>. The issue manifests starting with the release of nginx 1.9.5 (2015), when HTTP\/2 support was introduced. Exploiting the vulnerability leaves no traces in standard access logs, but indirectly, attempts may be indicated by worker process crashes (segfault) in the error log and unusually high incoming traffic from a single IP.\n<li class=\"l\"> CVE-2026-123633 \u2014 accessing memory after it has been freed when handling HTTP\/2 connections, occurring when an active connection is mistakenly queued for release but the upstream module continues to work with it. The issue manifests when an insufficient number of connections is specified through the worker_connections directive and when using proxy_pass, fastcgi_pass, or grpc_pass directives in the configuration.\n<li class=\"l\"> CVE-2026-121810 \u2014 a use-after-free memory access in HTTP\/3 (QUIC) thread handling code that occurs when closing a QUIC connection, while one of the HTTP\/3 requests is still being processed. The vulnerability manifests when proxying requests to the backend using proxy_pass, fastcgi_pass, or grpc_pass directives.\n<li class=\"l\"> CVE-2026-123634 \u2014 a use-after-free memory access in the DNS resolver code. The vulnerability appears in configurations with the 'resolver' directive or when using 'mirror' and 'proxy_pass' directives with dynamic backend proxying by hostname (proxy_pass http:\/\/$host) in situations where the primary and mirrored requests await the same DNS response.\n<li class=\"l\"> CVE-2026-113425 \u2014 a use-after-free memory access in the mail proxy, manifesting when using 'proxy on' and 'auth_http' settings in the 'mail' block. The issue is caused by closing the client connection freeing the session, but the connection to the authentication service remains open, resulting in access to already freed memory during its processing.    <\/ul>\n<p>Other vulnerabilities fixed in nginx 1.30.7 and 1.31.9:  <\/p>\n<ul>\n<li class=\"l\"> CVE-2026-125283 \u2014 a buffer overflow that occurs when the 'try_files' and 'alias' directives are used simultaneously.\n<li class=\"l\"> CVE-2026-120967 \u2014 a vulnerability in the stream module that allows client TLS certificate verification in a specific configuration context. <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/en\/server\/dts-los-angeles\/\"   title=\"server\" data-wpil-keyword-link=\"linked\">server<\/a> CVE-2026-120993 \u2014 null pointer dereference occurring when using the second version of the PROXY protocol in configurations with dynamically loaded TLS certificates. This issue may lead to a process crash.\n<li class=\"l\"> CVE-2026-120993 \u2014 a null pointer dereference that occurs when using the second version of the PROXY protocol in configurations with dynamic TLS certificate loading. This issue may lead to a worker process crash.\n<li class=\"l\"> CVE-2026-123640 \u2014 a bypass of restrictions in the ngx_stream_ssl_preread_module through the transmission of specially crafted ClientHello TLS messages.\n<li class=\"l\"> CVE-2026-118899 \u2014 an infinite loop in the worker process when reading the request body over SSL.    <\/ul>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=66717\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Xint \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u043f\u044f\u0442\u044c \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 nginx, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u043e \u043a\u043e\u0434\u043e\u0432\u043e\u0435 \u0438\u043c\u044f NGINX2Root. \u041d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u0430\u0441\u043d\u0430\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c (CVE-2026-123007) \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043f\u0440\u0438 \u043f\u0440\u0438\u0451\u043c\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 HTTP\/2. \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 4 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u0434\u043e\u043f\u0443\u0441\u043a\u0430\u044e\u0442 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430, \u043d\u043e \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0438\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043e\u0441\u043e\u0431\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u0439 \u0434\u043b\u044f \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438. \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e, [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-184322","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Xint \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u043f\u044f\u0442\u044c \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 nginx, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u043e \u043a\u043e\u0434\u043e\u0432\u043e\u0435 \u0438\u043c\u044f NGINX2Root.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alexander Kovalev\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/news\/nginx2root-nginx-vulnerabilities-allow-code-execution-when-using-http2-or-http3\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47NGINX2Root \u2014 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 nginx, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u0434 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 HTTP\/2 \u0438\u043b\u0438 HTTP\/3 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Xint \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u043f\u044f\u0442\u044c \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 nginx, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u043e \u043a\u043e\u0434\u043e\u0432\u043e\u0435 \u0438\u043c\u044f NGINX2Root.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/nginx2root-nginx-vulnerabilities-allow-code-execution-when-using-http2-or-http3\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-11-19T01:36:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-11-19T01:36:35+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"CVE-2026-125283 \u2014 a buffer overflow occurring when using the \"try_files\" and \"alias\" directives simultaneously.","description":"\ud83e\udd47NGINX2Root \u2014 vulnerabilities in nginx allowing code execution when using HTTP\/2 or HTTP\/3 | ProHoster","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/nginx2root-nginx-vulnerabilities-allow-code-execution-when-using-http2-or-http3","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47NGINX2Root \u2014 \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0438 \u0432 nginx, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u0434 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 HTTP\/2 \u0438\u043b\u0438 HTTP\/3 | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Xint \u0432\u044b\u044f\u0432\u0438\u043b\u0430 \u043f\u044f\u0442\u044c \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0432 nginx, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u043e \u043a\u043e\u0434\u043e\u0432\u043e\u0435 \u0438\u043c\u044f NGINX2Root.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/nginx2root-nginx-vulnerabilities-allow-code-execution-when-using-http2-or-http3","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-11-19T01:36:31+00:00","article:modified_time":"2026-11-19T01:36:35+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=184322"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184322\/revisions"}],"predecessor-version":[{"id":184323,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/184322\/revisions\/184323"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=184322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=184322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=184322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}