PHP Foundation's Overview of CVE-2026-109618 and CVE-2026-109619
Recorded: Oct. 21, 2026, 4:01 p.m.
| Original | Summarized |
Today's PHP Security Release, and How We're Strengthening PHP Security — The PHP Foundation — Supporting, Advancing, and Developing the PHP Language banner text stub The PHP Foundation Who we are php.net The PHP Foundation Who Sponsor Today's PHP Security Release, and How We're Strengthening PHP Security Published on Oct 21, 2026 The PHP Foundation News Security Earlier today, the PHP project released PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. These releases fix two critical vulnerabilities that, under the right conditions, allow an unauthenticated attacker to execute code on servers running PHP. If you run PHP, it is imperative that you update now. The announcement on php.net contains and references technical details on the vulnerabilities, attack vectors, and instructions on how to update on which systems. 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. 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. Companies that build products and services on PHP: please sponsor the PHP Foundation at a level that reflects how much you rely on it. Sponsoring the PHP Foundation is the most direct way to ensure structural issues like the OOM vulnerability are addressed sustainably, before they turn into emergencies. Become a sponsor at thephp.foundation/sponsor, and if your organization would like to talk about a larger commitment, get in touch. The PHP Foundation Mastodon X GitHub Previous Edit this page on GitHub Sponsor © The PHP Foundation |
The PHP Foundation has issued a security release comprising PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35, which resolve two critical remote code execution vulnerabilities that, under specific conditions, allow unauthenticated attackers to execute code on servers running PHP. The announcement on php.net includes technical details on the vulnerabilities, attack vectors, and update instructions. This article, published on October 21, 2026, from The PHP Foundation, examines the discovery, resolution, and strengthening of PHP security, along with the requirements for sustaining this work. Two related critical vulnerabilities are addressed: CVE-2026-109618, an RCE through out-of-memory (OOM) corruption, where a request reaching PHP's memory limit at an incorrect moment could leave partially initialized internal data that is later treated as valid, corrupting memory and enabling remote code execution on Apache with mod_php before any application code runs; this was also confirmed on PHP-FPM. CVE-2026-109619, an RCE through stale state, where a fatal error at an improper point could leave internal state pointing to memory belonging to a previous request, and a subsequent request handling by the same worker could exploit that freed memory, resulting in a use-after-free, worker crash, and RCE demonstrated against a real-world application on Apache with mod_php. Both issues reside in memory management and error handling, areas that affect nearly every request, making them particularly severe. The vulnerabilities were found through a combination of an external security audit and sustained investigation. In 2024, PHP underwent its first external security audit in years, funded by the Sovereign Tech Agency and organized by OSTIF, carried out by Quarkslab. While fixing one of the reported issues, a PHP core developer found initial signs of the OOM problem behind CVE-2026-109618. Although a potential exploit for this OOM issue was theorized in 2024, no concrete vectors were identified, and other more impactful issues dominated attention. The PHP security team explored multiple competing approaches to fix the OOM problem, each with trade-offs such as breaking backward compatibility, introducing denial-of-service risks, or requiring extensive changes to many third-party extensions. The decision process, exacerbated by fear of repercussions, the lack of a clear path to RCE, a small team of core developers occupied with many responsibilities, and the need to avoid disrupting the ecosystem, caused work to stall and restart repeatedly over months. The article identifies this as a structural failure stemming from both the security team's decision process and its resource limitations. Since then, the team has revised its processes to enable majority-based decisions and encourage compromises. The PHP Foundation has significantly restructured its security operations to build a sustainable professional security organization. In May 2026, the Foundation established the Ecosystem Security Team, which collaborates with the PHP security team on triage, coordination, and hardening. Volker Dusch, as AI Security Engineer in Residence, improved communication and collaboration between the security team and the Foundation. Alexandre Daubois joined in July to assist with triage, handling, and fixing security reports, and Daniel Scherzer joined in September to focus on hardening work. The team leverages advanced tools, including Alpha-Omega scanning with Anthropic's Claude Mythos, OpenAI's Daybreak Red for validating reports and exploits, sanitizer builds, and reproduction environments that match the CI on every supported platform. The PHP Foundation brought the PHP project into the Patch the Planet program, with security firm Calif beginning an audit on July 30, 2026. On August 11, researcher Ryan A at Calif reported an unconditional RCE with the same root cause as the OOM problem, which was independently confirmed by OpenAI the same day, followed by additional attack vectors from OpenAI on September 18 and Wiz on August 24. Trail of Bits also conducted an audit. These reports clarified the full impact of the OOM problem, and from August 11, fixing it became the top priority for the Foundation's security team. The Foundation's funding enabled multiple personnel to work full-time on this critical issue, coordinating and communicating with other parties, making the resolution possible. The growth of AI-assisted security research has increased the volume of reports received. As noted by Alexandre Daubois, the team has published 15 CVEs since July 1 and processed over 100 reports that were ultimately invalid, duplicates, or not reproducible. AI tools assist in report validation and grouping by root cause, but every decision and patch is made by a human, ensuring accountability. The coordinated disclosure of these vulnerabilities was disrupted two days before the targeted release. On October 20, 15:00 UTC, the CVE IDs began circulating on online forums and social media with incorrect release time and a wrong CVSS score of 10.0 (the actual score is 9.2). No technical details leaked initially. The PHP project pre-announced the release at 19:30 UTC, moving it from October 22 to October 21, 14:00 UTC, to balance prompt action with giving users time to update. Around 20:00 UTC, Calif mistakenly published a video demonstrating proof-of-concept exploits against targets, revealing additional limited details. Copies of the video circulated on social media, accelerating exploitation proof-of-concept development on October 21. Mitigation advice provided to critical infrastructure providers around Oct 20, 23:00 UTC may have leaked. The team monitored and inspected appearing PoCs but identified no functional exploits at release/public disclosure. On October 21, 07:41 UTC, Chainguard unilaterally broke the embargo and published images with the fix, disregarding coordinated disclosure and weeks of preparatory work. Today's release demonstrates progress. Once the full impact of the OOM problem was understood in August, the security team, Foundation, and release managers delivered a fix across all supported branches, with distributions and LTS vendors receiving the patch ahead of time to enable rapid user updates. The Foundation is confident that vulnerabilities with complex fix trade-offs will now be resolved more promptly, as processes are being revised to allow leadership to steer such situations toward timely resolution. Priority is being given to faster resolution for vulnerabilities requiring similarly complex fixes. The PHP Foundation and security team are committed to converting these experiences into lasting, repeatable processes. Given that PHP runs a large share of the web, including government services, online stores, banks, media sites, and much of the software that businesses rely on every day, security work on PHP itself still depends on a small group of foundation-funded developers and a little volunteer help. Tools now find bugs faster than ever, for defenders and attackers alike, and the number of reports will keep growing. What tools cannot do is decide on the right fix for a long-standing design decision in the engine, weigh the compatibility trade-offs, and review the patch. Making those decisions takes experienced engineers who know the entire PHP codebase, and today there are too few of them. A core part of the PHP Foundation's mission is to grow the number of engineers with deep knowledge of the PHP codebase and give the security team the resources it needs. The Foundation can only achieve this goal with funding from those who depend on PHP: companies that build products and services on PHP should sponsor the PHP Foundation at a level that reflects how much they rely on it; hosting providers, cloud platforms, and distributions that deliver PHP to millions of users should contribute; and governments and public institutions whose services run on PHP, as the German Sovereign Tech Agency's funding of the 2024 audit demonstrates what public investment can achieve, requiring more sustained support. Sponsoring the PHP Foundation is the most direct way to ensure structural issues like the OOM vulnerability are addressed sustainably, before they turn into emergencies. Become a sponsor at atphp.foundation/sponsor, and if your organization would like to talk about a larger commitment, get in touch. Thank you to the PHP security team, volunteers and PHP Foundation contractors alike, the release managers, and the package maintainers at distributions and LTS vendors who made these releases possible. Thank you to Calif, especially Ryan A, Wiz, OpenAI Codex Security, especially Amy Burnett, OSTIF, and Quarkslab for their research and responsible disclosure; to Alpha-Omega, OpenAI, and Anthropic for giving the team access to their tools and funding some of the security work; to the Sovereign Tech Agency for funding the 2024 audit; and to all of our sponsors, whose support made this work possible. |