{"answers":{"affected":"2 open source packages ship an affected version, including nginx and nginx-gateway. It affects 12 products.","exploited":"There is no known exploitation of CVE-2026-9256 in the wild and no public exploit code.","fix":"Upgrade nginx to a fixed version for your release line: 1.24.0, 1.30.2 or 1.31.1.","what":"CVE-2026-9256 is a critical memory corruption vulnerability in Debian Debian Linux, published on 22 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-9256 and fix it if it is affected.\n\nWhat it is: CVE-2026-9256 is a critical memory corruption vulnerability in Debian Debian Linux, published on 22 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-9256 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nginx (Bitnami): affected from 0.1.17; fixed in 1.24.0, 1.30.2, 1.31.1\n- nginx-gateway (Bitnami): affected from 0.1.17; fixed in 2.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-9256/ (Markdown: https://insights.sbomify.com/CVE-2026-9256/index.md)","id":"CVE-2026-9256","markdown":"https://insights.sbomify.com/CVE-2026-9256/index.md","name":"CVE-2026-9256","record":{"aliases":["ALPINE-CVE-2026-9256","ALSA-2026:28212","ALSA-2026:28921","ALSA-2026:28973","ALSA-2026:29151","ALSA-2026:29874","AZL-88116","BELL-CVE-2026-9256","BIT-nginx-2026-9256","BIT-nginx-gateway-2026-9256","CLSA-2026-1779712300","CLSA-2026-1779712426","CLSA-2026-1779736259","CLSA-2026-1779737077","CLSA-2026-1779788634","CLSA-2026-1779788913","CLSA-2026-1779789531","CLSA-2026-1779789551","CLSA-2026-1779789825","CLSA-2026-1779790011","CLSA-2026-1779790051","CLSA-2026-1779804603","CLSA-2026-1779992757","CLSA-2026-1780065226","DEBIAN-CVE-2026-9256","ECHO-5a21-3794-30f7","GHSA-h78r-86c6-jgp4","MGASA-2026-0159","MINI-j5x7-vr73-vfcw","MINI-mxrp-93f6-m62j","OESA-2026-2587","RHSA-2026:28212","RHSA-2026:28921","RHSA-2026:28973","RHSA-2026:29151","RHSA-2026:29874","RLSA-2026:28212","RLSA-2026:28921","RLSA-2026:29151","RLSA-2026:29874","SUSE-SU-2026:22178-1","SUSE-SU-2026:2307-1","UBUNTU-CVE-2026-9256","openSUSE-SU-2026:10852-1","openSUSE-SU-2026:21107-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"NGINX web server","requires_auth":"none","summary":"An unauthenticated attacker can trigger a heap buffer overflow in NGINX via crafted requests, causing a restart or potentially executing code if ASLR is disabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"f5","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"dos","vendor":"f5"},{"product":"nginx_gateway_fabric","vendor":"f5"},{"product":"nginx_ingress_controller","vendor":"f5"},{"product":"nginx_instance_manager","vendor":"f5"},{"product":"nginx_open_source","vendor":"f5"},{"product":"nginx_plus","vendor":"f5"},{"product":"waf","vendor":"f5"},{"product":"discovery","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"hardened_images","vendor":"redhat"},{"product":"update_infrastructure","vendor":"redhat"}],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"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. \n\nNote: Software versions which have reached End of Technical Support (EoTS) are not evaluated.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Bitnami","Red Hat:enterprise_linux:10.2","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Module for Server Applications 15 SP7","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server 16.0","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","SUSE:Linux Enterprise Server for SAP applications 16.0","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-05-24","github_poc":4,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-28T15:12:42Z","kind":"github_poc","ref":"https://github.com/3nou9h/CVE-2026-9256-Poc","stars":3,"title":null},{"date":"2026-05-28T08:22:32Z","kind":"github_poc","ref":"https://github.com/W5M1n9/NGINX-ngx_http_rewrite_module-heap-buffer-overflow-CVE-2026-9256","stars":2,"title":null},{"date":"2026-06-03T02:17:25Z","kind":"github_poc","ref":"https://github.com/06-ux/CVE-2026-9256-POC","stars":1,"title":"CVE-2026-9256 Nginx heap buffer overflow POC"},{"date":"2026-05-24T02:43:51Z","kind":"github_poc","ref":"https://github.com/suominen/CVE-2026-9256","stars":0,"title":"Tracking the nginx CVE-2026-9256 rewrite-module heap overflow"}],"tier":"poc_unverified"},"has_fix":true,"headline":"NGINX ngx_http_rewrite_module vulnerability","id":"CVE-2026-9256","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"debian:debian_linux","products":["debian:debian_linux","redhat:enterprise_linux","redhat:hardened_images"],"type":"memory_corruption","year":"2026"},"n_packages":159,"n_references":1,"next":{"headline":"Security feature bypass in EOS Network Setting Tool for Windows","id":"CVE-2026-9258"},"packages":[{"ecosystem":"Bitnami","fixed":["1.24.0","1.30.2","1.31.1"],"introduced":["0.1.17","1.30.0","1.31.0"],"last_affected":[],"package":"nginx","purl":"pkg:bitnami/nginx","source":"BIT-nginx-2026-9256"},{"ecosystem":"Bitnami","fixed":["2.2.1"],"introduced":["0.1.17"],"last_affected":[],"package":"nginx-gateway","purl":"pkg:bitnami/nginx-gateway","source":"BIT-nginx-gateway-2026-9256"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx","purl":"pkg:rpm/almalinux/nginx","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-all-modules","purl":"pkg:rpm/almalinux/nginx-all-modules","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-core","purl":"pkg:rpm/almalinux/nginx-core","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-filesystem","purl":"pkg:rpm/almalinux/nginx-filesystem","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-devel","purl":"pkg:rpm/almalinux/nginx-mod-devel","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-image-filter","purl":"pkg:rpm/almalinux/nginx-mod-http-image-filter","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-perl","purl":"pkg:rpm/almalinux/nginx-mod-http-perl","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-xslt-filter","purl":"pkg:rpm/almalinux/nginx-mod-http-xslt-filter","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-mail","purl":"pkg:rpm/almalinux/nginx-mod-mail","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:10","fixed":["2:1.26.3-6.el10_2.4"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-stream","purl":"pkg:rpm/almalinux/nginx-mod-stream","source":"ALSA-2026:29874"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx","purl":"pkg:rpm/almalinux/nginx","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-all-modules","purl":"pkg:rpm/almalinux/nginx-all-modules","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-filesystem","purl":"pkg:rpm/almalinux/nginx-filesystem","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-devel","purl":"pkg:rpm/almalinux/nginx-mod-devel","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-image-filter","purl":"pkg:rpm/almalinux/nginx-mod-http-image-filter","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-perl","purl":"pkg:rpm/almalinux/nginx-mod-http-perl","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-xslt-filter","purl":"pkg:rpm/almalinux/nginx-mod-http-xslt-filter","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-mail","purl":"pkg:rpm/almalinux/nginx-mod-mail","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.0-3.module_el8.10.0+4200+fea3b4c7.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-stream","purl":"pkg:rpm/almalinux/nginx-mod-stream","source":"ALSA-2026:28921"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx","purl":"pkg:rpm/almalinux/nginx","source":"ALSA-2026:28212"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.20.1-28.el9_8.3.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx","purl":"pkg:rpm/almalinux/nginx","source":"ALSA-2026:28973"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1"],"introduced":["0"],"last_affected":[],"package":"nginx","purl":"pkg:rpm/almalinux/nginx","source":"ALSA-2026:29151"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-all-modules","purl":"pkg:rpm/almalinux/nginx-all-modules","source":"ALSA-2026:28212"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.20.1-28.el9_8.3.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-all-modules","purl":"pkg:rpm/almalinux/nginx-all-modules","source":"ALSA-2026:28973"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1"],"introduced":["0"],"last_affected":[],"package":"nginx-all-modules","purl":"pkg:rpm/almalinux/nginx-all-modules","source":"ALSA-2026:29151"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-core","purl":"pkg:rpm/almalinux/nginx-core","source":"ALSA-2026:28212"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.20.1-28.el9_8.3.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-core","purl":"pkg:rpm/almalinux/nginx-core","source":"ALSA-2026:28973"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1"],"introduced":["0"],"last_affected":[],"package":"nginx-core","purl":"pkg:rpm/almalinux/nginx-core","source":"ALSA-2026:29151"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-filesystem","purl":"pkg:rpm/almalinux/nginx-filesystem","source":"ALSA-2026:28212"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.20.1-28.el9_8.3.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-filesystem","purl":"pkg:rpm/almalinux/nginx-filesystem","source":"ALSA-2026:28973"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1"],"introduced":["0"],"last_affected":[],"package":"nginx-filesystem","purl":"pkg:rpm/almalinux/nginx-filesystem","source":"ALSA-2026:29151"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-devel","purl":"pkg:rpm/almalinux/nginx-mod-devel","source":"ALSA-2026:28212"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.20.1-28.el9_8.3.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-devel","purl":"pkg:rpm/almalinux/nginx-mod-devel","source":"ALSA-2026:28973"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-devel","purl":"pkg:rpm/almalinux/nginx-mod-devel","source":"ALSA-2026:29151"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-image-filter","purl":"pkg:rpm/almalinux/nginx-mod-http-image-filter","source":"ALSA-2026:28212"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.20.1-28.el9_8.3.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-image-filter","purl":"pkg:rpm/almalinux/nginx-mod-http-image-filter","source":"ALSA-2026:28973"},{"ecosystem":"AlmaLinux:9","fixed":["2:1.26.3-9.module_el9.8.0+260+95b8e5ed.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-image-filter","purl":"pkg:rpm/almalinux/nginx-mod-http-image-filter","source":"ALSA-2026:29151"},{"ecosystem":"AlmaLinux:9","fixed":["1:1.24.0-7.module_el9.8.0+259+a3b861bb.2.alma.1"],"introduced":["0"],"last_affected":[],"package":"nginx-mod-http-perl","purl":"pkg:rpm/almalinux/nginx-mod-http-perl","source":"ALSA-2026:28212"}],"prev":{"headline":"Tool Execution Without Authorization via Piped Stdin in Kiro CLI","id":"CVE-2026-9255"},"products":["NGINX Open Source","NGINX Plus"],"published":"2026-05-22","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-25","vendors":["F5"]},"summary":"An unauthenticated attacker can trigger a heap buffer overflow in NGINX via crafted requests, causing a restart or potentially executing code if ASLR is disabled.","url":"https://insights.sbomify.com/CVE-2026-9256/"}