Stay Updated with the Latest in Cybersecurity & Tech. Explore Anosion ↗

PHP CVE-2026-109618 and CVE-2026-109619: Critical Remote Code Execution Risks

PHP CVE-2026-109618 and CVE-2026-109619 can enable unauthenticated RCE. Learn fixed versions, mitigations, and urgent upgrade steps. Patch promptly.

The PHP project released critical security updates on October 21, 2026, addressing two vulnerabilities that could permit unauthenticated remote code execution. Tracked as CVE-2026-109618 and CVE-2026-109619, the flaws affect PHP request handling and internal state management.

The updates matter because PHP is widely used to serve web applications through configurations including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP, and LiteSpeed. The PHP security team advised affected users to update immediately and stated that there are no complete workarounds for these two vulnerabilities.

Technical Details

CVE-2026-109618: Remote Code Execution Through Out-of-Memory Corruption

The PHP advisory describes CVE-2026-109618 as an out-of-memory (OOM) corruption issue. In the affected path, memory failure can interrupt request processing while internal request data is only partially initialized. During subsequent cleanup, PHP may incorrectly treat invalid internal data as valid.

This class of flaw is dangerous because malformed or partially initialized state can violate assumptions made by memory-management and request-processing code. Under the reported conditions, the issue can lead to remote code execution.

PHP's advisory identifies all web-request-serving installations as potentially relevant and highlights Apache deployments using mod_php as particularly concerning due to a demonstrated path that can trigger the issue before application code runs.

CVE-2026-109619: Remote Code Execution Through Stale Global State

CVE-2026-109619 involves stale internal state. According to the PHP advisory, request-owned internal state can survive after the memory backing it has been freed.

A later request handled by the same worker may then access that stale state before normal initialization resets it. This creates a risk of unsafe behavior during request processing, including remote code execution under the documented conditions.

The underlying causes differ, but both vulnerabilities demonstrate why request lifecycle management and memory safety are critical to a language runtime used directly to process untrusted HTTP traffic.

Fixed PHP Releases

On October 21, PHP published security updates for these release branches:

PHP branchFixed release
PHP 8.58.5.12
PHP 8.48.4.27
PHP 8.38.3.36
PHP 8.28.2.35

Administrators should use the appropriate patched version for their supported branch. Linux distributions and long-term support vendors may supply backported fixes through their own packages; verify the package advisory and installed build rather than assuming the upstream version number tells the whole story.

PHP 8.1 and older no longer receive regular security updates directly from the PHP project. The project notes that some distributions and long-term support vendors may provide backported fixes. Organizations should verify their vendor's status or plan a move to a supported release.

Impact and Security Significance

Both vulnerabilities can potentially allow unauthenticated remote code execution, meaning an attacker may be able to trigger the vulnerable request-processing paths without first obtaining valid application credentials.

The actual consequences depend on the runtime configuration, the identity under which PHP executes, the affected application, and the permissions available to the PHP worker. Risks may include unauthorized access to application data, modification of server-side files, and a foothold for further activity.

The PHP team stated that proofs of concept had begun to circulate by October 23. That development increases concern, but the publication of a proof of concept is not, on its own, proof that a particular organization has been compromised.

Additional Advisory: CVE-2026-115560

On October 23, PHP published an informational advisory describing a separate, lower-likelihood remote code execution issue tracked as CVE-2026-115560.

The PHP team said that this issue requires an unusual combination of configuration and application behavior: the application configures session.serialize_handler as php_binary or php_serialize, changes it to php at runtime using ini_set(), and then calls session_start() while session upload progress remains enabled.

PHP did not plan an out-of-band release for this additional issue, describing the configuration combination as unlikely in practice. The project recommended disabling session upload progress until the regular release cycle provides the full advisory and corresponding fix. This separate issue should not be confused with the two critical vulnerabilities patched on October 21.

Mitigation and Recommendations

  1. Upgrade PHP promptly. Move each installation to the patched version for its supported branch, or apply a verified backported package supplied by the operating-system or PHP vendor.

  2. Inventory all runtime deployments. Include PHP-FPM pools, Apache modules, CGI-based deployments, containers, and managed hosting environments.

  3. Apply temporary measures only as directed by PHP. The upstream advisory describes configuration-specific mitigations for individual attack paths, including limits on request sizes and disabling session upload progress for the stale-state issue. These measures reduce exposure to documented paths but do not make an unpatched runtime fully safe.

  4. Restart and verify affected workers. Apply configuration changes at the appropriate server or pool level and ensure workers have restarted when required.

  5. Check for signs of compromise. Review relevant web-server, PHP, endpoint, and network telemetry for suspicious activity during the period when vulnerable versions were exposed.

  6. Plan support lifecycle upgrades. Installations on unsupported PHP branches should not rely on receiving upstream fixes indefinitely.

For the October 21 vulnerabilities, the PHP team explicitly identifies updating as the complete remediation. Temporary configuration changes should not delay patch deployment.

Conclusion

CVE-2026-109618 and CVE-2026-109619 are critical PHP runtime vulnerabilities with potential for unauthenticated remote code execution. Their relevance across common web-serving configurations makes inventory, patching, and post-exposure assessment important for application owners and system administrators.

The key defensive action is to install a verified fix from PHP or the responsible distribution vendor. Administrators should separately review the October 23 advisory for CVE-2026-115560 if their applications use the unusual session configuration described by PHP.

Sources

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.