{
  "id": "cve-2026-42945",
  "title": "NGINX rewrite/set capture heap buffer overflow",
  "product": "F5 NGINX Open Source and NGINX Plus",
  "ai_system": "depthfirst automated security analysis system (specific model not identified)",
  "organization": "depthfirst / F5 NGINX",
  "summary": "A rewrite replacement containing a question mark followed by a rewrite/if/set that uses an unnamed PCRE capture can leave the script engine’s argument-state flag set, so length calculation underallocates before a later copy. An unauthenticated remote client sends crafted HTTP requests to an affected NGINX configuration using the relevant rewrite/capture sequence. F5 says worker restart can result and code execution is possible when ASLR is disabled or bypassed; the researcher’s demonstrated RCE used ASLR off.",
  "ai_role": "depthfirst’s primary NGINX Rift account says its system autonomously discovered four confirmed issues and individually identifies CVE-2026-42945; it says the system generated detailed root-cause reports and PoCs. F5’s CNA record credits the human researcher Zhenpeng (Leo) Lin for this specific finding and independently confirms the issue. The account does not identify the model used.",
  "disclosure_date": "2026-05-13",
  "ai_attribution_date": "2026-05-13",
  "classification": "disclosure",
  "classification_note": "The F5 CNA record and depthfirst account give public disclosure date 2026-05-13/2026-05-13. The sources document a research PoC where applicable; they do not report exploitation in the wild or establish zero-day status.",
  "cves": [
    "CVE-2026-42945"
  ],
  "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/42xxx/CVE-2026-42945.json",
  "ai_source_url": "https://depthfirst.com/research/nginx-rift-achieving-nginx-rce-via-an-18-year-old-vulnerability",
  "advisory_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/42xxx/CVE-2026-42945.json",
  "remediation": "fix documented",
  "remediation_note": "F5’s CNA lists NGINX Open Source fixed in 1.30.1 and 1.31.0 and affected NGINX Plus fixed in R36 P4 and R32 P6; root/research notes also track later module changes. Distribution backports and deployment status are not inferred.",
  "checked_date": "2026-11-17",
  "cvss": [
    {
      "cve": "CVE-2026-42945",
      "version": "3.1",
      "score": 8.1,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/42xxx/CVE-2026-42945.json",
      "source_name": "F5 CNA CVE Program record",
      "checked_date": "2026-11-17"
    },
    {
      "cve": "CVE-2026-42945",
      "version": "4.0",
      "score": 9.2,
      "vector": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/42xxx/CVE-2026-42945.json",
      "source_name": "F5 CNA CVE Program record",
      "checked_date": "2026-11-17"
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-42945"
      ],
      "consequences": [
        "code execution",
        "denial of service"
      ],
      "conditions": "An unauthenticated remote client sends crafted HTTP requests to an affected NGINX configuration using the relevant rewrite/capture sequence. F5 says worker restart can result and code execution is possible when ASLR is disabled or bypassed; the researcher’s demonstrated RCE used ASLR off.",
      "exploitation": "F5’s CNA gives the conditional RCE boundary; depthfirst reports its working RCE PoC with ASLR off. Do not generalize code execution to ASLR-on conditions.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/42xxx/CVE-2026-42945.json",
      "checked_date": "2026-11-17"
    }
  ]
}
