Hispasec•October 22, 2026•🇪🇸Translated from Spanish

PHP Issues Emergency Patches for Critical PHP2Shell RCE Flaws as Exploit Attempts Emerge

PHP has released emergency patches for two critical vulnerabilities grouped under the name PHP2Shell, which allow remote code execution without authentication. Active exploitation attempts have already been observed, prompting immediate recommendations to update and restart services.

The PHP community issued emergency updates to address the pair of flaws, catalogued as CVE-2026-109618 and CVE-2026-109619. Both vulnerabilities carry a CVSS v4.0 score of 9.2 and affect servers running vulnerable branches of the runtime. The issues are particularly concerning because exposure does not depend on web application code; even trivial pages can be targeted if the server uses an affected PHP engine.

Affected Deployment Methods

The risk is highest with Apache mod_php, where a demonstrated vector can activate before application code executes. The broad attack surface also includes PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed.

Technical Details of the Flaws

CVE-2026-109618 describes a chain of issues resulting in memory corruption that can lead to code execution with the privileges of the web process. CVE-2026-109619 involves an obsolete global state problem with typical use-after-free consequences, enabling memory disclosure and, in some scenarios, code execution. Memory disclosure raises additional risks by potentially exposing passwords, tokens, API keys, or certificates stored in RAM.

Patched Versions and Required Actions

The corrected releases are PHP 8.5.12, PHP 8.4.27, PHP 8.3.36, and PHP 8.2.35. After installation, administrators must restart Apache, PHP-FPM, and any persistent workers to ensure the patched runtime is loaded.

Mitigation Measures

  • For CVE-2026-109618: set memory_limit=-1, keep post_max_size low, and limit request sizes at the web server or proxy level.
  • Avoid using RLIMIT_AS or RLIMIT_DATA as memory limit substitutes, as they may trigger vulnerable code paths.
  • For CVE-2026-109619: disable session.upload_progress.enabled and restart all workers.
  • In PHP 8.5, disabling fatal_error_backtraces provides partial containment.

After patching, teams should monitor for anomalous multipart requests followed by memory limit errors, spikes in HTTP 500 responses, unusually large PHPSESSID cookies, or unexplained worker restarts.

Related articles

Security NEXT•Vulnerabilities & Exploits

GitLab Issues Critical Patches for CVE-2026-110264 Affecting Wide Range of Versions

GitLab has released emergency security updates to address multiple vulnerabilities, including one rated critical that allows unauthenticated remote code execution. The flaw, tracked as CVE-2026-110264, stems from an integer overflow in the regular expression compiler and carries a maximum CVSSv3.1 base score of 10.0. It impacts GitLab Community Edition and Enterprise Edition starting from version 7.0, with patches now available for both current and older branches. The company strongly urges immediate updates due to the severity and potential for arbitrary code execution on affected servers. Additional lower-severity issues were also resolved in the same release cycle.

Security NEXT•Vulnerabilities & Exploits

Two Critical RCE Vulnerabilities Patched in PHP with CVSS 9.2 Scores

The PHP development team has disclosed two severe remote code execution vulnerabilities affecting the widely used scripting language. Both issues, tracked as CVE-2026-109618 and CVE-2026-109619, received a CVSSv4.0 base score of 9.2 and were rated Critical. The flaws stem from improper memory handling during request processing and cleanup phases. Exploitation could allow attackers to execute arbitrary code by manipulating uninitialized or residual data in worker processes. Security updates addressing both vulnerabilities were released on October 21, 2026, and users are strongly urged to apply the patches immediately. The advisories were previewed the previous day, highlighting the urgency of the fixes.

BoletimSec•Vulnerabilities & Exploits

Critical PHP Core Flaws Enable Unauthenticated Remote Code Execution

The PHP project released emergency patches on October 21 for two critical vulnerabilities in the language core, tracked as CVE-2026-109618 and CVE-2026-109619 and collectively referred to as PHP2Shell. Both issues received a CVSS 4.0 score of 9.2 and allow remote code execution without authentication. CVE-2026-109618 resides in memory-handling routines where longjmp can leave request data partially initialized, and subsequent shutdown operates on invalid data; multipart requests with many headers or empty file fields can trigger the condition. CVE-2026-109619 affects an obsolete global state in long-lived workers that retain references to freed memory, with confirmed paths involving fatal errors, error reporting data, and session upload progress. Researchers demonstrated unauthenticated code execution over HTTP against the first flaw on Apache with mod_php using default limits, while PHP-FPM exposure was identified through code analysis. The FBI Cyber Division issued an alert urging immediate updates, and Cloudflare deployed WAF rules while confirming early attacks in the wild.

Security NEXT•Vulnerabilities & Exploits

Oracle Releases October 2026 Critical Patch Update Fixing 1,295 Vulnerabilities Across Multiple Products

Oracle has published its quarterly Critical Patch Update (CPU) on October 20, 2026, delivering a total of 1,295 security patches for a wide range of products. After removing duplicates, the update addresses 1,209 unique CVEs. The highest number of fixes went to Oracle Fusion Middleware with 206 patches, followed by Oracle E-Business Suite with 194, Oracle Communications with 110, Oracle MySQL with 98, and Oracle Java SE with 55. Among the vulnerabilities, 587 received a CVSSv3 base score of 7.0 or higher, including 112 rated 9.0 or above. Six vulnerabilities scored the maximum 10.0, one of which is CVE-2026-101809 in Oracle E-Business Suite Workflow Notification Mailer that can be exploited remotely without authentication over HTTP.