GCVE-1988-2026-0509

Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30
VLAI
Title
CVE-2026-109618: PHP-CGI Pointer Underflow → Remote Code Execution (CVSS 9.2)
Summary
CVE-2026-109618: Pointer underflow in PHP's CGI SAPI enables unauthenticated remote code execution. Affected: ALL PHP versions 5.x through 8.4.26 with cgi.fix_pathinfo=1 (default configuration). Same vulnerability class as CVE-2019-11043 (PHP-FPM, CVSS 9.8, patched 2019) — the CGI SAPI never received the equivalent fix. Fix: PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 (scheduled Oct 21, 2026 14:00 UTC) PHP 8.1 and earlier (EOL) receive NO fix. Root cause: sapi/cgi/cgi_main.c — missing bounds check in path_info pointer arithmetic. Fix: php-src PR #23411 adds the guard. Exploitation chain (independently confirmed, 9/9 automated tests): 1. OOB Read — leak heap data via corrupted PATH_INFO 2. Info Leak — extract fcgi_data_seg pointers (ASLR bypass) 3. Write Primitive — ASAN SCARINESS 30 (wild-addr-write) 4. Code Execution — .user.ini auto_prepend_file injection Mitigation: set cgi.fix_pathinfo=0 in php.ini Exposure: ~884,000 internet-facing hosts on EOL PHP versions. Default PHP configuration is vulnerable. IMPORTANT: Several "PoC" repositories on exploit aggregators claim to target CVE-2026-109618 but actually exploit session.upload_progress UAF — a completely different vulnerability. Disabling session.upload_progress does NOT mitigate this vulnerability. The correct mitigation is cgi.fix_pathinfo=0. Detection: %0a/%0d in URI path targeting .php endpoints (very low false positive rate). References: php-src PR #23411: https://www.google.com/url?q=https://github.com/php/php-src/pull/23411&source=gmail&ust=1792646638609000&sa=E CVE-2019-11043 (FPM equivalent): https://www.google.com/url?q=https://nvd.nist.gov/vuln/detail/CVE-2019-11043&source=gmail&ust=1792646638609000&sa=E Full PoC will be published after patches are available. Independent discovery via source code audit. Jose _______________________________________________ Sent through the Full Disclosure mailing list https://nmap.org/mailman/listinfo/fulldisclosure Web Archives & RSS: https://seclists.org/fulldisclosure/
Severity
No CVSS data available.
Assigner
VULNARCHIVE GNA GNA-1988
GNA scorecard E 38/100 over 581 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
unknown unknown Affected: unknown
guessed Create a notification for this product.
Credits
Relationships
analysis GCVE-1988-2026-0509 (this record)

{
  "containers": {
    "cna": {
      "affected": [
        {
          "product": "unknown",
          "vendor": "unknown",
          "versions": [
            {
              "status": "affected",
              "version": "unknown"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "jose"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "CVE-2026-109618: Pointer underflow in PHP\u0027s CGI SAPI enables\nunauthenticated remote code execution.\n\nAffected: ALL PHP versions 5.x through 8.4.26 with cgi.fix_pathinfo=1\n(default configuration). Same vulnerability class as CVE-2019-11043\n(PHP-FPM, CVSS 9.8, patched 2019) \u2014 the CGI SAPI never received the\nequivalent fix.\n\nFix: PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 (scheduled Oct 21, 2026 14:00 UTC)\nPHP 8.1 and earlier (EOL) receive NO fix.\n\nRoot cause: sapi/cgi/cgi_main.c \u2014 missing bounds check in path_info\npointer arithmetic. Fix: php-src PR #23411 adds the guard.\n\nExploitation chain (independently confirmed, 9/9 automated tests):\n1. OOB Read \u2014 leak heap data via corrupted PATH_INFO\n2. Info Leak \u2014 extract fcgi_data_seg pointers (ASLR bypass)\n3. Write Primitive \u2014 ASAN SCARINESS 30 (wild-addr-write)\n4. Code Execution \u2014 .user.ini auto_prepend_file injection\n\nMitigation: set cgi.fix_pathinfo=0 in php.ini\n\nExposure: ~884,000 internet-facing hosts on EOL PHP versions.\nDefault PHP configuration is vulnerable.\n\nIMPORTANT: Several \"PoC\" repositories on exploit aggregators claim to\ntarget CVE-2026-109618 but actually exploit session.upload_progress UAF \u2014\na completely different vulnerability. Disabling session.upload_progress\ndoes NOT mitigate this vulnerability. The correct mitigation is\ncgi.fix_pathinfo=0.\n\nDetection: %0a/%0d in URI path targeting .php endpoints (very low false\npositive rate).\n\nReferences:\nphp-src PR #23411:\nhttps://www.google.com/url?q=https://github.com/php/php-src/pull/23411\u0026source=gmail\u0026ust=1792646638609000\u0026sa=E\nCVE-2019-11043 (FPM equivalent):\nhttps://www.google.com/url?q=https://nvd.nist.gov/vuln/detail/CVE-2019-11043\u0026source=gmail\u0026ust=1792646638609000\u0026sa=E\n\nFull PoC will be published after patches are available.\n\nIndependent discovery via source code audit.\nJose\n_______________________________________________\nSent through the Full Disclosure mailing list\nhttps://nmap.org/mailman/listinfo/fulldisclosure\nWeb Archives \u0026 RSS: https://seclists.org/fulldisclosure/"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-02T07:30:04Z",
        "orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
        "shortName": "VULNARCHIVE"
      },
      "references": [
        {
          "tags": [
            "technical-description",
            "exploit"
          ],
          "url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/38"
        },
        {
          "tags": [
            "technical-description"
          ],
          "url": "https://seclists.org/fulldisclosure/2026/Oct/38"
        },
        {
          "url": "https://nmap.org/mailman/listinfo/fulldisclosure"
        },
        {
          "url": "https://seclists.org/fulldisclosure/"
        },
        {
          "url": "https://www.google.com/url?q=https://github.com/php/php-src/pull/23411\u0026source=gmail\u0026ust=1792646638609000\u0026sa=E"
        },
        {
          "url": "https://www.google.com/url?q=https://nvd.nist.gov/vuln/detail/CVE-2019-11043\u0026source=gmail\u0026ust=1792646638609000\u0026sa=E"
        }
      ],
      "source": {
        "defect": [
          "https://seclists.org/fulldisclosure/2026/Oct/38"
        ],
        "discovery": "EXTERNAL"
      },
      "title": "CVE-2026-109618: PHP-CGI Pointer Underflow \u2192 Remote Code Execution (CVSS 9.2)",
      "x_gcve": [
        {
          "recordType": "analysis",
          "relationships": [
            {
              "destId": "CVE-2019-11043",
              "type": "related"
            },
            {
              "destId": "CVE-2026-109618",
              "type": "related"
            }
          ],
          "vulnId": "GCVE-1988-2026-0509",
          "x_vulnarchive": {
            "archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/38",
            "automated": true,
            "contentSha256": "b7962910087718135806590530ed5dc3a3339f827171bcdd113e1c7208cf846c",
            "evidenceScore": 7,
            "messageId": "",
            "originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/38",
            "policy": "vulnarchive-1",
            "sourceFormat": "text/html",
            "sourcePublishedAt": "2026-10-21T05:23:58Z"
          }
        },
        {
          "recordType": "advisory",
          "vulnId": "gcve-1988-2026-0509"
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
    "assignerShortName": "VULNARCHIVE",
    "datePublished": "2026-11-02T07:30:04Z",
    "dateUpdated": "2026-11-02T07:30:04Z",
    "state": "PUBLISHED",
    "vulnId": "GCVE-1988-2026-0509"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.