Major PHP Flaws Have Web Admins Reeling Worldwide

A pair of new PHP flaws have web admins reeling the world over and rushing to patch, given the severity of the flaws and the consequences of a possible breach. PHP is one of the most popular programming languages in the world. According to the TIOBE Index, the language ranked 12th in October 2026, with […]
Cybersecurity Code
Major PHP Flaws Have Web Admins Reeling Worldwide
At a Glance
  • Flaws: Two critical PHP flaws, both CVSS v4.0 9.2
  • Risks: Remote code execution, data theft, site takeovers
  • Release: Fix scheduled Oct. 21 at 14:00 UTC
  • CVE: CVE-2026-109618: RCE via out-of-memory corruption

A pair of new PHP flaws have web admins reeling the world over and rushing to patch, given the severity of the flaws and the consequences of a possible breach.

PHP is one of the most popular programming languages in the world. According to the TIOBE Index, the language ranked 12th in October 2026, with a 1.26% rating. While PHP is used in virtually every kind of development, it is especially popular in website and web application development, which is also where a vulnerability can wreak the most havoc.

According to TechRadar, PHP devs issued a security advisory detailing the risks caused by the flaws, including potential remote code execution (RCE) attacks, data theft, website takeovers, and malicious redirects. The notice also served to give admins a “heads up” that a patch will be released soon.

“The PHP security team would like to give advance notice of an upcoming security release,” reads the advisory.

“It is scheduled for Wednesday, 21 October 2026 at 14:00 UTC. It addresses two critical vulnerabilities, both rated CVSS v4.0 9.2. All PHP users are encouraged to prepare now so they can upgrade as soon as the release is available. We reserve the right to release earlier should details of either vulnerability become public, or should evidence of active exploitation appear in the wild.Full details, affected versions, and the fixed versions will be published with the release.”

The PHP Foundation detailed the exact nature of the two flaws:

  • CVE-2026-109618 / GHSA-w8hw-w9fx-j79w: RCE via OOM corruption (out-of-memory): If a request reached PHP’s memory_limit at exactly the wrong moment, PHP could leave partially initialized internal data behind and later treat it as valid, corrupting memory. On Apache with mod_php, an unauthenticated request can trigger this before any application code runs, and full remote code execution was demonstrated with default settings. Remote code execution was also confirmed on PHP-FPM through application-level code paths.
  • CVE-2026-109619 / GHSA-6wmf-4rv5-p3rp: RCE via stale state: A fatal error at the wrong point could leave internal state pointing to memory that belonged to a previous request. A later request handled by the same worker could then use that freed memory. A use-after-free and worker crash were confirmed, and the reporter demonstrated remote code execution against a real-world application running on Apache with mod_php.

Both issues sit in parts of PHP that nearly every request touches: memory management and error handling. Their central place in PHP is what made both vulnerabilities serious, and also so hard to fix without breaking compatibility, hurting performance, or forcing changes on the large ecosystem of third-party extensions.

The devs outlined the challenges they faced coming up with the best fix for the issues:

In 2024, PHP underwent its first external security audit in years. The PHP Foundation secured funding from the Sovereign Tech Agency to organize this audit through OSTIF, and it was carried out by Quarkslab. While fixing one of the issues Quarkslab reported, a PHP core developer contracted by the PHP Foundation found the first signs of the OOM problem behind CVE-2026-109618. In 2024, a potential exploit for the OOM problem was theorized, but no concrete vectors were found and other concrete issues with clear impact overshadowed these concerns.

To fix the OOM problem, the PHP security team developed several competing approaches, but each came with its own trade-offs: backward compatibility breaks, new denial-of-service potential, or requiring changes to many third-party extensions which seemed impossible to coordinate. The PHP security team, operating on consensus, struggled to choose between these and feared the repercussions of shipping the wrong choice. Combined with the lack of a known path to remote code execution and the small team of core developers with the necessary deep knowledge of the engine occupied with many responsibilities, this decision process caused work on a fix to stall and restart repeatedly over months. We won’t pretend otherwise: the delay was a structural failure, caused by both the security team’s decision process and its lack of resources. The security team has since started changing its processes, and that work continues, so that decisions can be made by majority and compromises are encouraged.

The devs have also made changes to ensure future fixes can be rolled out quicker:

Today’s release shows the progress we’re making in how PHP security is handled. Once the full impact of the OOM problem was understood in August, the security team, the foundation, and the release managers delivered a fix for this deeply rooted problem across all supported branches, and distributions and LTS vendors received the patch ahead of time so their users can update quickly.

We are confident that a serious vulnerability with a fix stuck on hard trade-offs would now reach the PHP Foundation leadership much sooner, as we’re changing processes so leadership can help steer the situation to a timely resolution. We are now prioritizing measures to make sure vulnerabilities that need similarly complex fixes get resolved faster when they are reported in the future. The PHP Foundation and the PHP security team learned a lot in the last weeks and will work to turn their experiences into lasting repeatable processes.

PHP released the patch on October 21 in versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and web admins and developers will need to immediately apply it to safeguard their sites and applications.

Subscribe for Updates

CybersecurityUpdate Newsletter

The CybersecurityUpdate Email Newsletter is your essential source for the latest in cybersecurity news, threat intelligence, and risk management strategies. Perfect for IT security professionals and business leaders focused on protecting their organizations.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us