{"vuln_id":"GHSA-6wmf-4rv5-p3rp","aliases":["CVE-2026-109618","CVE-2026-109619","GHSA-w8hw-w9fx-j79w"],"description":"RCE via stale global state","published_at":"2026-10-21T13:34:13Z","modified_at":"2026-10-21T13:34:13Z","first_seen_at":"2026-11-21T19:15:05.284241Z","severity":"critical","severity_source":"ghsa","cvss_score":9.2,"cvss_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","cwe":["CWE-416","CWE-755","CWE-824","CWE-1325","CWE-1419"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-6wmf-4rv5-p3rp"},"matched_alias":null,"items":[{"id":631,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-658j-r8rw-q6mx / CVE-2026-115560: Session serializer mismatch can lead to remote code execution","summary":"Session serializer mismatch can lead to remote code execution\n\n### Summary\r\n\r\nPHP's session upload progress feature can write attacker-controlled data using one session serialization format and later read it using another. A mismatched decoder can interpret part of a session key as serialized object data. An application with a suitable object gadget chain can then execute code with the privileges of the PHP worker.\r\n\r\nThis is a configuration-dependent deserialization issue, separate from the stale global state vulnerability in CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp). Session upload progress was introduced in PHP 5.4.0, so older unsupported releases may also be affected.\r\n\r\n### Details\r\n\r\nThe affected setup has the following conditions:\r\n\r\n- Session upload progress is enabled, and an attacker can submit a multipart upload to a context using `php_binary` or `php_serialize` as its session serializer.\r\n- A later or concurrent operation can access the same stored session, using the same session ID and the `php` serializer.\r\n- For code execution, the reading application has a suitable deserialization gadget chain available.\r\n\r\nThe mismatch can arise when an application changes `session.serialize_handler` to `php` before calling `session_start()`. It can also arise between separate applications, pools, virtual hosts, or command-line processes with different fixed INI settings. With the `files` handler, this requires the same session storage directory, the same session ID, and permissions allowing both sides to access that file. Separate FPM pools do not automatically provide separate session storage. A runtime configuration change is not required, but workers using the same serializer do not create this mismatch.\r\n\r\nDuring multipart processing, PHP appends the submitted `PHP_SESSION_UPLOAD_PROGRESS` value to an upload-progress session key and persists it. The `php` format separates each key from its serialized value with `|`. The other formats represent keys differently. If their output is read as `php`, an attacker-supplied delimiter can cause bytes inside the key to be passed to PHP's unserialization machinery.\r\n\r\nObjects may be created and their deserialization or destruction callbacks invoked before trailing data causes the session decoder to reject the record. The 127-byte key limit in `php_binary` does not prevent payloads that span multiple session records.\r\n\r\n### Impact\r\n\r\nSuccessful exploitation can cause remote code execution, file modification, session corruption, or denial of service. The report includes command execution using a Guzzle object gadget on PHP 8.2.35, 8.3.36, 8.4.27, and 8.5.12. Command execution was also reproduced with a Monolog 2.11.1 gadget using a `php_serialize` writer and a `php` reader. Exploitability depends on the shared session configuration, access to the writing and reading paths, and the classes available to the reader.\r\n\r\nAn application that never changes its serializer at runtime can still be affected if another application or process writes incompatible data into the same se\n\nAffected packages: php:ext-session\nPatched: ext-session 8.2.36, ext-session 8.3.37, ext-session 8.4.28, ext-session 8.5.13","url":"https://github.com/php/php-src/security/advisories/GHSA-658j-r8rw-q6mx","published_at":"2026-11-19T14:08:31Z","updated_at":"2026-11-19T18:42:48Z","fetched_at":"2026-11-21T19:15:07.553369Z","severity":"critical","cvss_score":9.2,"epss":0.99999,"is_kev":true,"has_exploit":true,"kev_due_date":"2026-10-29","vendor":"php","product":"ext-session","vuln_id":"CVE-2026-115560","vuln_ids":["CVE-2026-109618","CVE-2026-109619","CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","GHSA-658J-R8RW-Q6MX","GHSA-6WMF-4RV5-P3RP","GHSA-W8HW-W9FX-J79W"],"tags":["repo-advisory","php","CWE-20","CWE-502","security","repo:php/php-src"],"cluster_id":458,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/631","html":"https://vulnwatch.ve1ve2.com/item/631"}},{"id":624,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-2fjv-p558-g82m / CVE-2026-129182: Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown","summary":"Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown\n\n### Summary\r\n\r\nAs part of CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp), PHP 8.5.12 fixes a generic use-after-free of the `last_fatal_error_backtrace` global by clearing it during executor shutdown. Further scenarios have been discovered in which a fatal diagnostic during later shutdown work repopulates the global. The request heap is then released, and an early diagnostic in a subsequent request handled by the same worker can access the stale backtrace before normal executor initialization.\r\n\r\n### Details\r\n\r\nThe backtrace can be recreated while PHP restores modified INI settings after executor cleanup:\r\n\r\n- When `max_memory_limit` is specified in both the global and a path-specific configuration, restoring the global limit can fail if memory consumption still exceeds that limit. The resulting fatal error recreates the backtrace.\r\n- When the global configuration specifies `zlib.output_compression=1`, and a path-specific configuration specifies `zlib.output_compression=0` and `output_handler=ob_gzhandler` (or another handler), restoring compression before restoring `output_handler` can raise a fatal configuration error because the two settings conflict.\r\n\r\nBoth shutdown cases are possible with PHP-FPM and mod_php. The `max_memory_limit` override requires administrative configuration. `.user.ini` can supply the zlib settings but cannot change `max_memory_limit`.\r\n\r\nExploitation also requires a diagnostic before executor initialization in a later request handled by the same worker. Apache per-directory configuration can provide this. FPM is conditionally exposed when the frontend sends a diagnostic-producing `PHP_VALUE` or `PHP_ADMIN_VALUE` FastCGI parameter. Ordinary FPM pool settings and `.user.ini` do not provide this early diagnostic.\r\n\r\nThe fix is generic: PHP no longer creates or consumes the fatal-error backtrace while the executor is inactive. This also covers other shutdown diagnostics that might recreate the same state.\r\n\r\n### Impact\r\n\r\nSuccessful exploitation can result in memory corruption and potentially full remote code execution (RCE), as in CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp). The two restoration cases demonstrate heap use-after-free and worker crashes. RCE through these specific entry points has not been demonstrated.\r\n\r\n### Affected versions\r\n\r\nThe affected global was introduced in PHP 8.5.0 by fatal error backtraces. The fix for CVE-2026-109619 in PHP 8.5.12 cleared it during executor shutdown but did not stop later shutdown work from setting it again, so every PHP 8.5 release before 8.5.13 is affected. PHP 8.4 and earlier do not contain the global and are not affected.\r\n\r\n### Mitigation\r\n\r\nUpgrade to PHP 8.5.13 when it becomes available. As a temporary workaround, disable fatal-error backtraces administratively with `fatal_error_backtraces=0` and restart all workers. Ensure that request-specific configuration cannot re-enable the setting.\r\n\n\nAffected packages: php:engine\nPatched: engine 8.5.13","url":"https://github.com/php/php-src/security/advisories/GHSA-2fjv-p558-g82m","published_at":"2026-11-19T14:06:04Z","updated_at":"2026-11-19T19:01:07Z","fetched_at":"2026-11-21T19:15:07.553363Z","severity":"critical","cvss_score":9.2,"epss":0.99999,"is_kev":true,"has_exploit":true,"kev_due_date":"2026-10-29","vendor":"php","product":"engine","vuln_id":"CVE-2026-129182","vuln_ids":["CVE-2026-109618","CVE-2026-109619","CVE-2026-129182","CVE-2026-129474","CVE-2026-129538","GHSA-2FJV-P558-G82M","GHSA-5J3F-64R7-F564","GHSA-6WMF-4RV5-P3RP","GHSA-8MJJ-2R7P-4HG2","GHSA-W8HW-W9FX-J79W"],"tags":["repo-advisory","php","CWE-416","CWE-459","security","repo:php/php-src"],"cluster_id":446,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/624","html":"https://vulnwatch.ve1ve2.com/item/624"}},{"id":626,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-g3vh-838c-65v7 / CVE-2026-129481: Use-after-free after interrupted session shutdown","summary":"Use-after-free after interrupted session shutdown\n\n### Summary\r\n\r\nPHP can retain a pointer to a script filename after session shutdown is interrupted and the request memory has been released. A later request handled by the same worker can then release the stale string, causing a heap use-after-free.\r\n\r\nThis is an incomplete fix for CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp). It affects PHP 8.3 and later. PHP 8.2 does not contain the affected session filename field.\r\n\r\n### Details\r\n\r\nWhen a session starts, PHP records the executing script's filename in an internal global variable. Session shutdown normally releases this string, but it destroys the session variables first. That destruction can invoke application callbacks, including a user-defined stream wrapper's `stream_close()` method.\r\n\r\nA fatal error in such a callback can abort session shutdown before the filename is released or cleared. PHP catches the bailout and continues shutting down the request. The request heap is then freed while the worker still retains the filename pointer.\r\n\r\nThe next request's session initialization does not reset this field. Starting another session can release the stale string, and ordinary session-module shutdown can also reach it even when the next script does not call any session functions. The requests must reach the same worker, but they do not need to belong to the same user or session.\r\n\r\nThe reported reproducer uses PHP-FPM with OPcache disabled and a stream resource held in the session. Its close callback raises a fatal error during cleanup. A subsequent request then reaches the freed filename. The report confirms the use-after-free on PHP 8.4.27 and 8.5.12. PHP 8.3.36 contains the same vulnerable code.\r\n\r\nUnlike the early-error and upload-progress cases in the original advisory, this path does not require a diagnostic-producing FastCGI parameter or session upload progress.\r\n\r\n### Impact\r\n\r\nAn attacker who can cause an application's session cleanup to fail in this way may corrupt memory or crash a reused PHP worker. The use-after-free could potentially lead to remote code execution, but code execution through this specific field has not been demonstrated. Authentication requirements depend on the application path that reaches the failing cleanup.\r\n\r\nThe demonstrated configuration has OPcache disabled, so the recorded filename belongs to the request heap. A filename retained in persistent OPcache memory does not produce the same dangling pointer. Exploitability depends on how the affected script was loaded and whether its filename is request-owned.\r\n\r\n### Affected versions\r\n\r\nThe affected field was introduced in PHP 8.3.0, when `session_start()` began recording the file and line where a session was started in order to report them in the notice about an already active session. PHP 8.2 and earlier do not contain the field and are not affected.\r\n\r\n### Mitigation\r\n\r\nUpgrade to the fixed release for your PHP branch when it becomes available. The fix clears the recorded session filename and line number during sessi\n\nAffected packages: php:ext-session\nPatched: ext-session 8.3.37, ext-session 8.4.28, ext-session 8.5.13","url":"https://github.com/php/php-src/security/advisories/GHSA-g3vh-838c-65v7","published_at":"2026-11-19T14:06:00Z","updated_at":"2026-11-19T19:01:04Z","fetched_at":"2026-11-21T19:15:07.553365Z","severity":"critical","cvss_score":9.2,"epss":0.99999,"is_kev":true,"has_exploit":true,"kev_due_date":"2026-10-29","vendor":"php","product":"ext-session","vuln_id":"CVE-2026-129481","vuln_ids":["CVE-2026-109618","CVE-2026-109619","CVE-2026-115560","CVE-2026-126714","CVE-2026-127960","CVE-2026-128064","CVE-2026-128090","CVE-2026-129289","CVE-2026-129291","CVE-2026-129292","CVE-2026-129481","CVE-2026-129496","CVE-2026-129501","CVE-2026-129506","CVE-2026-129538","CVE-2026-15353","GHSA-6WMF-4RV5-P3RP","GHSA-G3VH-838C-65V7","GHSA-W8HW-W9FX-J79W"],"tags":["repo-advisory","php","CWE-416","CWE-459","security","repo:php/php-src"],"cluster_id":450,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/626","html":"https://vulnwatch.ve1ve2.com/item/626"}},{"id":260,"source":{"id":"cisco","name":"Cisco PSIRT"},"title":"Vulnerabilities in PHP Affecting Cisco Products: October 2026","summary":"On October 21, the PHP Foundation announced the availability of a Critical PHP Security release addressing two critical vulnerabilities:\n\nCVE-2026-109618 - RCE via OOM corruption\n\nCVE-2026-109619 - RCE via stale global state\n\nFor information about these vulnerabilities, see the advisories\nGHSA-w8hw-w9fx-j79w\nand\nGHSA-6wmf-4rv5-p3rp\n. These vulnerabilities are being referenced as PHP2shell.\n\nFor information about Splunk products and offerings, see\nVulnerabilities in PHP (CVE-2026-109618, CVE-2026-109619) on Splunk Products - October 2026\n.\n\nImportant:\nIf a product is not listed within this advisory, Cisco's review indicates that the product is not affected by this vulnerability.\n\nThis advisory will be updated as additional information becomes available.\n\nThis advisory is available at the following link:\nhttps://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-php-october26-Jj384Daq\n\nSecurity Impact Rating: Critical\n\nCVE: CVE-2026-109618,CVE-2026-109619","url":"https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-php-october26-Jj384Daq","published_at":"2026-11-06T14:21:13Z","updated_at":"2026-11-06T14:21:13Z","fetched_at":"2026-11-21T19:15:05.129000Z","severity":"critical","cvss_score":9.2,"epss":0.99999,"is_kev":true,"has_exploit":true,"kev_due_date":"2026-10-29","vendor":"cisco","product":"PHP","vuln_id":"CVE-2026-109618","vuln_ids":["CVE-2026-109618","CVE-2026-109619","GHSA-6WMF-4RV5-P3RP","GHSA-W8HW-W9FX-J79W"],"tags":[],"cluster_id":39,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/260","html":"https://vulnwatch.ve1ve2.com/item/260"}},{"id":3935,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-109619: PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated aft…","summary":"PHP has various global state that temporarily points into request memory. In some scenarios, global state may not be correctly reset, or may be repopulated after being reset. The global state may then refer to request memory even after it has been freed. Subsequent requests may read or branch on this stale state before it is fully initialized. Multiple strategies can trigger this condition and produce remote code execution (RCE).\n\nReferences:\nhttps://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp\nhttp://www.openwall.com/lists/oss-security/2026/10/21/16\nhttp://www.openwall.com/lists/oss-security/2026/10/21/17\nhttp://www.openwall.com/lists/oss-security/2026/10/21/23\nhttp://www.openwall.com/lists/oss-security/2026/10/21/7\nhttp://www.openwall.com/lists/oss-security/2026/10/22/14\nhttp://www.openwall.com/lists/oss-security/2026/10/22/15\nhttp://www.openwall.com/lists/oss-security/2026/10/22/16\nhttp://www.openwall.com/lists/oss-security/2026/10/22/19\nhttp://www.openwall.com/lists/oss-security/2026/10/22/2","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109619","published_at":"2026-10-21T14:17:09.823000Z","updated_at":"2026-11-20T12:18:19.730000Z","fetched_at":"2026-11-21T19:15:31.479426Z","severity":"critical","cvss_score":9.2,"epss":0.99999,"is_kev":true,"has_exploit":true,"kev_due_date":"2026-10-29","vendor":"php","product":"PHP","vuln_id":"CVE-2026-109619","vuln_ids":["CVE-2026-109618","CVE-2026-109619","GHSA-6WMF-4RV5-P3RP","GHSA-W8HW-W9FX-J79W"],"tags":["CWE-416","CWE-755","CWE-824","CWE-1325"],"cluster_id":40,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3935","html":"https://vulnwatch.ve1ve2.com/item/3935"}},{"id":641,"source":{"id":"gh-php-src","name":"PHP releases (GitHub php/php-src tags)"},"title":"GHSA-6wmf-4rv5-p3rp / CVE-2026-109619: RCE via stale global state","summary":"RCE via stale global state\n\n## Summary\r\n\r\nPHP contains various global state, such as error, session, object and extension state that is retained by a worker but points to memory owned by one request. That state must be reset before the request memory is released. Some input, configuration, session and error handling operations run before normal initialization of the next request. They inadvertently access stale state not reset by the previous request before initialization has a chance to replace it, causing a use after free. A strategically crafted heap layout can produce full remote code execution (RCE).\r\n\r\nState can survive for more than one reason. A fatal error, including one caused by memory exhaustion, can abandon an operation before it performs its matching reset. A warning or other nonfatal diagnostic can also repopulate error state after that state was already cleared during shutdown. The request heap is then freed while the worker global field still refers to it. A later operation that runs before normal request initialization can consume the stale value.\r\n\r\nSuccessful exploitation of this vulnerability requires both a producer and a consumer. The producer is a PHP operation that stores state owned by one request in a location PHP can access later in a subsequent request. The consumer is a subsequent PHP operation that reads, frees, branches or otherwise acts on the stale state previously stored by the producer.\r\n\r\nA concrete vulnerability would arise under the following conditions:\r\n\r\n1. A reachable PHP operation stores request-owned state in a globally accessible location, acting as the producer.\r\n2. The state is not reset, or another operation repopulates it after its normal reset.\r\n3. PHP releases the request memory while the persistent worker retains the referring global state.\r\n4. The same worker handles another request.\r\n5. A PHP operation reads, frees, branches or otherwise acts on the stale state before normal request initialization resets it, acting as the consumer.\r\n\r\nThe demonstrated producing and consuming operations occur in different HTTP requests handled by the same worker. The exact affected versions, configuration and mitigations depend on the internal state affected by the producing operation.\r\n\r\n## Vulnerability\r\n\r\n### Producers\r\n\r\nA producing operation becomes dangerous when its request-owned state remains published after the request heap is freed. A fatal error can cause this by abandoning the operation before it resets the state. Fatal interruptions include parse and compile failures, uncaught errors, failure of `require`, and `Maximum execution time exceeded`.\r\n\r\nOOM can provide the same interruption when an affected error, exception, object or extension state was already published.\r\n\r\nEven a nonfatal diagnostic from extension or server cleanup during a later shutdown stage can repopulate new request-owned error information to the global state.\r\n\r\n### Consumers\r\n\r\nThere are two confirmed consumers before normal initialization.\r\n\r\n#### INI d\n\nAffected packages: php:php-src\nPatched: php-src 8.2.35, php-src 8.3.36, php-src 8.4.27, php-src 8.5.12","url":"https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp","published_at":"2026-10-21T13:34:13Z","updated_at":"2026-10-21T13:34:13Z","fetched_at":"2026-11-21T19:15:07.553377Z","severity":"critical","cvss_score":9.2,"epss":0.99999,"is_kev":true,"has_exploit":true,"kev_due_date":"2026-10-29","vendor":"php","product":"php-src","vuln_id":"CVE-2026-109618","vuln_ids":["CVE-2026-109618","CVE-2026-109619","GHSA-6WMF-4RV5-P3RP","GHSA-W8HW-W9FX-J79W"],"tags":["repo-advisory","php","CWE-416","CWE-755","CWE-824","CWE-1325","CWE-1419","security","repo:php/php-src"],"cluster_id":109,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/641","html":"https://vulnwatch.ve1ve2.com/item/641"}},{"id":12434,"source":{"id":"php-releases","name":"PHP releases (all active branches, php.net)"},"title":"[SECURITY RELEASE] PHP 8.4.27","summary":"Fixes: GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp\n\n>\n\nVersion 8.4.27\n\n22 Oct 2026\n\nCore:\n\nFixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via bailout).\n\nFix GH-21999: GC inconsistency with lazy object, var_dump(), and object comparison.\n\nFixed OSS-Fuzz #536440507 (Immutable class incorrect assertion).\n\nFixed AVX being reported as supported when the OS has not enabled AVX state.\n\nFixed GH-23980 (ZEND_ASSERT violation @ ZEND_INCLUDE_OR_EVAL).\n\nFixed bug GH-23896 (Assertion failure in zend_call_function() after a throwing deprecation).\n\nFixed use-after-free when a dl()-loaded extension declares a frameless function and a later request calls it.\n\nFixed System V shared memory emulation for Windows attaching segments past the end of their mapping.\n\nFixed bug GH-24050 (GC frees an object still held by a resurrected closure when (object) and use share an array).\n\nFixed exception thrown by destructor during GC in a Fiber not being rethrown into the frame that triggered the GC.\n\nBCMath:\n\nFixed BcMath\\Number results that truncate to zero keeping a negative sign and comparing less than zero.\n\nBZ2:\n\nFixed double close of the descriptor and use-after-free of the inner stream when bzopen() is given a stream resource.\n\nCLI:\n\nFix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during request activation).\n\nFixed bug GH-23764 (Built-in server leaks a file descriptor on every HEAD request for a static file).\n\nFixed crash in the built-in server when a client is reset before being accepted.\n\nFixed the built-in server truncating an error page and leaking its unsent part after a partial socket write.\n\nDOM:\n\nFixed use-after-free when re-constructing a DOMXPath whose php:function registrations are freed while still reachable from the cycle collector.\n\nFixed bug GH-23365 (DOMNode::insertBefore($n, $n) drops the node and leaves a self-referencing sibling list).\n\nFixed Dom\\HTMLDocument::getElementById() not finding ids of SVG and MathML elements.\n\nFixed Dom\\HTMLDocument giving attributes the namespace of their element when a fragment is parsed with an xlink, xml or xmlns context element.\n\nFixed bug GH-23729 (DOMXPath::__construct() use-after-free during an evaluation).\n\nFixed bug GH-23897 (php:function() assertion failure after a failed registerPHPFunctions()).\n\nFixed DOMXPath and Dom\\XPath losing the context node and in-scope namespaces of an evaluation after a php:function() callback evaluated another expression on the same object.\n\nFFI:\n\nFixed crashes with FFI callbacks created from __call() trampolines and array callables whose object is released.\n\nFTP:\n\nFixed bug GH-23619 (cryptic error on servers that don't support TLS session resumption on data connection).\n\nGD:\n\nFixed undefined behavior with GD2 images with `INT_MAX`-sized chunks.\n\nFixed undefined behavior with GIFs with problematic LZW compression data.\n\nIntl:\n\nFixed IntlDateFormatter::parse(), localtime() and parseToCalendar() treating the offset as UTF-16 code units instead of bytes.\n\nFixed cloning IntlDateFormatter and MessageFormatter losing PHP-side state such as dateType, timeType, calendar and the message pattern.\n\nFixed Collator attribute and strength methods not rejecting an unconstructed Collator.\n\nFixed grapheme_strstr() and grapheme_stristr() returning incorrect substrings when supplementary characters precede the match.\n\nFixed grapheme_strstr() and grapheme_strpos() missing canonically equivalent matches, and grapheme searches reporting ICU errors for empty haystacks.\n\nFixed grapheme_strrpos() and grapheme_strripos() skipping overlapping matches when using a negative offset.\n\nLexbor:\n\nMerge patches lexbor/lexbor@8a14bc0 and lexbor/lexbor@f67ce4b, fixing a heap buffer overflow in :lexbor-contains() parsing and buffer overflows in malformed decode replay.\n\nMBString:\n\nFixed bug GH-23106 (mb_strpos() reads past the end of a haystack ending in a truncated UTF-8 sequence).\n\nFixed mbstring functions emitting surrogates in UTF-8 output and flagging it as valid UTF-8.\n\nMySQLi:\n\nFix GH-22854: Fixed failed ","url":"https://php.net/releases/8_4_27.php","published_at":"2026-10-21T00:00:00Z","updated_at":null,"fetched_at":"2026-11-22T13:46:14.266718Z","severity":"critical","cvss_score":9.2,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php","vuln_id":"CVE-2026-109618","vuln_ids":["CVE-2026-109618","CVE-2026-109619","GHSA-6WMF-4RV5-P3RP","GHSA-W8HW-W9FX-J79W"],"tags":["release","php-branch:8.4","security","stack"],"cluster_id":108,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12434","html":"https://vulnwatch.ve1ve2.com/item/12434"}},{"id":12431,"source":{"id":"php-releases","name":"PHP releases (all active branches, php.net)"},"title":"[SECURITY RELEASE] PHP 8.5.12","summary":"Fixes: GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp\n\n>\n\nVersion 8.5.12\n\n22 Oct 2026\n\nCore:\n\nFixed GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp (Avoid state corruption via bailout).\n\nFixed bug GH-23644 (Optimizer leaves a constant-vs-constant comparison unfolded, crashing the VM in zval_undefined_cv).\n\nFixed OSS-Fuzz 532353396 (assertion failure with static type).\n\nFix GH-23662 (Avoid NAN warning in print_r()).\n\nFix GH-21999: GC inconsistency with lazy object, var_dump(), and object comparison.\n\nFixed OSS-Fuzz #536440507 (Immutable class incorrect assertion).\n\nFixed AVX being reported as supported when the OS has not enabled AVX state.\n\nFixed GH-23980 (ZEND_ASSERT violation @ ZEND_INCLUDE_OR_EVAL).\n\nFixed use-after-free when a dl()-loaded extension declares a frameless function and a later request calls it.\n\nFixed System V shared memory emulation for Windows attaching segments past the end of their mapping.\n\nFixed exception thrown by destructor during GC in a Fiber not being rethrown into the frame that triggered the GC.\n\nBCMath:\n\nFixed BcMath\\Number results that truncate to zero keeping a negative sign and comparing less than zero.\n\nBZ2:\n\nFixed double close of the descriptor and use-after-free of the inner stream when bzopen() is given a stream resource.\n\nCLI:\n\nFix GH-22567 (Windows ZTS CLI SAPI should refresh its TSRMLS cache during request activation).\n\nFixed bug GH-23764 (Built-in server leaks a file descriptor on every HEAD request for a static file).\n\nFixed crash in the built-in server when a client is reset before being accepted.\n\nFixed the built-in server truncating an error page and leaking its unsent part after a partial socket write.\n\nDOM:\n\nFixed use-after-free when re-constructing a DOMXPath whose php:function registrations are freed while still reachable from the cycle collector.\n\nFixed Dom\\HTMLDocument::getElementById() not finding ids of SVG and MathML elements.\n\nFixed Dom\\HTMLDocument giving attributes the namespace of their element when a fragment is parsed with an xlink, xml or xmlns context element.\n\nFixed bug GH-23887 (Dom\\HTMLCollection::namedItem() assertion failure, hang, or missed first element).\n\nFixed DOMXPath and Dom\\XPath losing the context node and in-scope namespaces of an evaluation after a php:function() callback evaluated another expression on the same object.\n\nFFI:\n\nFixed crashes with FFI callbacks created from __call() trampolines and array callables whose object is released.\n\nFTP:\n\nFixed bug GH-23619 (cryptic error on servers that don't support TLS session resumption on data connection).\n\nGD:\n\nFixed undefined behavior with GD2 images with `INT_MAX`-sized chunks.\n\nFixed undefined behavior with GIFs with problematic LZW compression data.\n\nIntl:\n\nFixed cloning IntlDateFormatter and MessageFormatter losing PHP-side state such as dateType, timeType, calendar and the message pattern.\n\nFixed a crash when converting with a cloned UConverter that uses toUCallback/fromUCallback.\n\nFixed Collator attribute and strength methods not rejecting an unconstructed Collator.\n\nFixed crash in intl_error_set_custom_msg() without an active call frame.\n\nFixed grapheme_strstr() and grapheme_stristr() returning incorrect substrings when supplementary characters precede the match.\n\nFixed grapheme_strstr() and grapheme_strpos() missing canonically equivalent matches, and grapheme searches reporting ICU errors for empty haystacks.\n\nFixed grapheme_strrpos() and grapheme_strripos() skipping overlapping matches when using a negative offset.\n\nFixed IntlDateFormatter::parse(), localtime() and parseToCalendar() treating the offset as UTF-16 code units instead of bytes.\n\nLexbor:\n\nMerge patches lexbor/lexbor@8a14bc0 and lexbor/lexbor@f67ce4b, fixing a heap buffer overflow in :lexbor-contains() parsing and buffer overflows in malformed decode replay.\n\nMerge patches lexbor/lexbor@859f100, lexbor/lexbor@a36e09a, lexbor/lexbor@b0f7412, lexbor/lexbor@1b215a8, lexbor/lexbor@385afff, lexbor/lexbor@e6c068f, lexbor/lexbor@327a8b6, lexbor/lexbor@917742f and lexbor/lexbor@e89c258, fixing dropped ","url":"https://php.net/releases/8_5_12.php","published_at":"2026-10-21T00:00:00Z","updated_at":null,"fetched_at":"2026-11-22T13:46:14.266716Z","severity":"critical","cvss_score":9.2,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"php","product":"php","vuln_id":"CVE-2026-109618","vuln_ids":["CVE-2026-109618","CVE-2026-109619","GHSA-6WMF-4RV5-P3RP","GHSA-W8HW-W9FX-J79W"],"tags":["release","php-branch:8.5","security","stack"],"cluster_id":108,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12431","html":"https://vulnwatch.ve1ve2.com/item/12431"}}]}