{
  "id": "CVE-2026-9256",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-9256",
  "published_at": "2026-05-22T14:11:41.877Z",
  "title": "NGINX ngx_http_rewrite_module vulnerability",
  "vendor": "F5",
  "product": "NGINX Plus",
  "cvss": {
    "score": 9.2,
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-24T02:43:51Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.5,
    "repo": "suominen/CVE-2026-9256",
    "source": "github"
  },
  "poc_repo_count": 4,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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\n\nNote: Software versions which have reached End of Technical Support (EoTS) are not evaluated.",
  "cwe": "CWE-122",
  "cpes": [
    "cpe:2.3:a:f5:dos:*:*:*:*:*:nginx:*:*",
    "cpe:2.3:a:f5:dos:4.9.0:*:*:*:*:nginx:*:*",
    "cpe:2.3:a:f5:nginx_gateway_fabric:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:f5:nginx_ingress_controller:*:*:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_instance_manager:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:f5:nginx_open_source:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:f5:nginx_open_source:1.31.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:*:*:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:37.0.0.1:*:*:*:long-term_support:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r32:-:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r32:p1:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r32:p2:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r32:p3:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r32:p4:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r32:p5:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r32:p6:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r36:-:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r36:p1:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r36:p2:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r36:p3:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:nginx_plus:r36:p4:*:*:continuous_releases:*:*:*",
    "cpe:2.3:a:f5:waf:*:*:*:*:*:nginx:*:*",
    "cpe:2.3:a:redhat:discovery:-:*:*:*:*:*:*:*",
    "cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*",
    "cpe:2.3:a:redhat:update_infrastructure:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.2
  },
  "repos": [
    {
      "repo": "friparia/NGINX_RIFT_SCAN_CVE_2026_42945",
      "url": "https://github.com/friparia/NGINX_RIFT_SCAN_CVE_2026_42945",
      "created_at": "2026-05-14T04:40:47Z",
      "first_seen_at": "2026-11-15T02:31:15.731Z",
      "stars": 34,
      "is_poc": "unknown",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2013-01-09T13:59:22Z"
    },
    {
      "repo": "suominen/CVE-2026-9256",
      "url": "https://github.com/suominen/CVE-2026-9256",
      "created_at": "2026-05-24T02:43:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-07-08T23:28:18Z"
    },
    {
      "repo": "W5M1n9/NGINX-ngx_http_rewrite_module-heap-buffer-overflow-CVE-2026-9256",
      "url": "https://github.com/W5M1n9/NGINX-ngx_http_rewrite_module-heap-buffer-overflow-CVE-2026-9256",
      "created_at": "2026-05-28T08:22:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-01-15T01:40:49Z"
    },
    {
      "repo": "3nou9h/CVE-2026-9256-Poc",
      "url": "https://github.com/3nou9h/CVE-2026-9256-Poc",
      "created_at": "2026-05-28T15:12:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-05-28T14:38:46Z"
    },
    {
      "repo": "06-ux/CVE-2026-9256-POC",
      "url": "https://github.com/06-ux/CVE-2026-9256-POC",
      "created_at": "2026-06-03T02:17:25Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-04-23T12:45:15Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "F5",
        "product": "NGINX Plus",
        "ranges": [
          "\u003e= 37.0, \u003c 37.0.1.1",
          "\u003e= R36, \u003c R36 P5",
          "\u003e= R32, \u003c R32 P7"
        ],
        "fixed_in": [
          "37.0.1.1",
          "R36 P5",
          "R32 P7"
        ]
      },
      {
        "vendor": "F5",
        "product": "NGINX Open Source",
        "ranges": [
          "\u003e= 1.31.0, \u003c 1.31.1",
          "\u003e= 1.30.0, \u003c 1.30.2",
          "\u003e= 0.1.17, \u003c= 0.9.7"
        ],
        "fixed_in": [
          "1.31.1",
          "1.30.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade NGINX Plus to 37.0.1.1 or R36 P5 or R32 P7 or later.",
      "Upgrade NGINX Open Source to 1.31.1 or 1.30.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://my.f5.com/manage/s/article/K000161377"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/api/++++++++++++++++++++++++++++++++...",
      "ports": [
        19321
      ],
      "protocol": "http",
      "repos": [
        "W5M1n9/NGINX-ngx_http_rewrite_module-heap-buffer-overflow-CVE-2026-9256"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "W5M1n9/NGINX-ngx_http_rewrite_module-heap-buffer-overflow-CVE-2026-9256/README.md:36",
        "W5M1n9/NGINX-ngx_http_rewrite_module-heap-buffer-overflow-CVE-2026-9256/README.md:216"
      ]
    },
    {
      "method": "GET",
      "path_template": "/echo/%25%25%25%25%25A",
      "ports": [
        19321
      ],
      "protocol": "http",
      "repos": [
        "3nou9h/CVE-2026-9256-Poc"
      ],
      "repo_count": 1,
      "confidence": 0.85,
      "evidence": [
        "3nou9h/CVE-2026-9256-Poc/README.md:150"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/git-revision)",
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2026-9256"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-9256/CLAUDE.md:288",
        "suominen/CVE-2026-9256/scripts/auto-update-prompt.txt:57"
      ]
    }
  ],
  "rules": []
}
