Critical PHP Vulnerability (CVE-2026-109618, CVE-2026-109619) [infocon yellow]

    Published: 2026-10-21. Last Updated: 2026-10-21 13:06:44 UTC
    by Johannes Ullrich (Version: 1)
    0 comment(s)

    PHP.net announced that it will release a critical update today. We decided to change the infoCon to YELLOW due to the widespread use of PHP, the expected severity of the flaw (CVSS 9.4), and the availability of early PoC exploits ahead of the patch becoming available. 

    This diary will be continuously updated today. I am starting to write this diary with many details still unclear and with the patch not yet available.

    Which versions of PHP are vulnerable?

    The easy answer: All of them. At least starting with PHP 5, including the most recent releases.

    Which versions will receive patches?

    Only PHP 8 is expected to receive a patch. Older versions are no longer supported. The patch is expected to be released at 14:00 UTC today, October 21st. [php] Ubuntu will release patches "as soon as possible" and may include backported patches for PHP versions included in supported Ubuntu versions.

    Does this vulnerability affect specific configurations or extensions?

    The vulnerability is in the PHP core, and all default PHP installations are expected to be vulnerable (see below for mitigations). 

    What steps can I take to mitigate the vulnerability, ahead of applying the patch?

    Early guidance suggests that the configuration setting "session.upload_progress.enabled = Off" provides partial mitigation against the vulnerability being exploited. Buy default, this setting is "On". Restricting the maxmimum allowed request size in your web server and/or PHP configuration may help as well.

    Are there WAF rules or other measures to protect a site running PHP?

    Yes. I will add more as I verify them. Cloudflare appears to already have deployed some protections. Other vendors have likely done the same.

    Have exploits been seen "in the wild"?

    Cloudflare is reporting exploits [cloudflare]. PoC exploits and vulnerability details have been released [jackalsyn]

    What does the PoC exploit do?

    The PoC exploit sends a POST request using a multipart MIME payload. These payloads are commonly seen with file uploads or other POST form submissions. According to the discussion at [jackalsyn], the trigger is in part a very large filename. The PoC exploit does not appear to be reliable, but may provide indicators as to what to look for in a working exploit.

    Exploit snippet (I abbreviated the filename as it is about 5 MByte long:

    POST / HTTP/1.1
    Host: localhost
    Cookie: PHPSESSID=s0123456789abcdefghijklmnopqrstuv
    Content-Type: multipart/form-data; boundary=SctxPoc2026
    Content-Length: 5244717
    Connection: close

    --SctxPoc2026
    Content-Disposition: form-data; name="PHPSESSID"

    s0123456789abcdefghijklmnopqrstuv
    --SctxPoc2026
    Content-Disposition: form-data; name="PHP_SESSION_UPLOAD_PROGRESS"

    x
    --SctxPoc2026
    Content-Disposition: form-data; name="upload0"; filename="f0-NNNNNNNNN[continues...]

    NNNNNNNNNNNN"

    Z
    --SctxPoc2026--

    (again, this is the unreliable/incomplete exploit PoC published by [jackalsyn].)

    [cloudflare] https://x.com/IntCyberDigest/status/2112845843938054610/photo/1
    [jackalsyn] https://jackalsyn.com/posts/php-up-2026.html
    [php] https://www.php.net/archive/2026.php#2026-10-20-1

    --
    Johannes B. Ullrich, Ph.D. , Dean of Research, SANS.edu
    Twitter|

    Keywords: php vulnerability
    0 comment(s)
    ISC Stormcast For Wednesday, October 21st, 2026 https://isc.sans.edu/podcastdetail/10144

      Comments


      Diary Archives