LmCast :: Stay tuned in

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
What we do
News
Talks
Contact

php.net
Sponsor

The PHP Foundation

Who
we are
What
we do
News
Talks
Contact

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.
This post isn't about how to update. It's about how these vulnerabilities were found and fixed, what has changed in how PHP security is handled over the past two years, and what we need from the organizations that depend on PHP to keep PHP's security work going.
Two related critical remote code execution vulnerabilities

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.
A first external audit and increased security focus
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.
Building a sustainable professional security organization
Over the last months the way PHP security work is organized has changed considerably. In May 2026, the PHP Foundation created the Ecosystem Security Team, which works alongside the PHP security team on triage, coordination, and hardening. Volker Dusch's work as AI Security Engineer in Residence at the PHP Foundation has significantly improved communication and collaboration between the PHP security team and the Foundation. Alexandre Daubois joined the PHP Foundation in July to help the PHP security team triage, handle, and fix security reports and Daniel Scherzer joined in September to take on hardening work.
Earlier this year, we worked with Alpha-Omega to scan PHP with Anthropic's Claude Mythos. But since the Mythos scan, we have added other tools, including OpenAI's Daybreak Red for validating reports and exploits, alongside sanitizer builds and reproduction environments that match our CI on every platform PHP supports.
The PHP Foundation got the PHP project into the Patch the Planet program, as part of which security firm Calif began an audit of PHP on July 30th, 2026. On August 11th researcher Ryan A at Calif reported an unconditional remote code execution with the same root cause as the OOM problem we had found in 2024. OpenAI independently reported the same root cause on the same day, followed by further attack vectors from OpenAI on September 18th and from Wiz on August 24th. More recently, Trail of Bits has also been auditing PHP. The reports from Calif, OpenAI, and Wiz made the full impact of the OOM problem clear, and from August 11th onward, fixing it became the top priority for all of the PHP Foundation's team working on security. Without the Foundation’s funding it would have been impossible to have multiple people work on this issue full time, eventually through weekends and around the clock to coordinate and communicate with other involved parties.
The growth of AI-assisted research also means the PHP security team receives far more reports than before. As Alexandre Daubois described last week in How the PHP Security Team Handles Your Reports, the team has published 15 CVEs since July 1st and worked through more than 100 reports that turned out to be invalid, duplicates, or not reproducible. AI helps the team validate reports and group reports sharing the same root cause, but a person makes every call and works on every patch.
Leak and disrupted disclosure
The coordinated disclosure of these vulnerabilities worked well until 2 days ahead of the targeted release date.
On Tuesday, October 20th, at around 15:00 UTC, the two CVE IDs began circulating on online forums and social media. They came with a wrong release time and a wrong CVSS score of 10.0 (the actual score is 9.2). No technical details leaked. In response, the PHP project brought its pre-announcement forward and published it at 19:30 UTC. It also moved the release from October 22nd, 14:00 UTC, to October 21st, 14:00 UTC. Distributors were still packaging the fix, so releasing immediately would have left many users without an easy way to update. Moving the release forward by one day was the best compromise between acting quickly, giving people time to prepare, and making sure everyone had a simple update path when the vulnerabilities were disclosed.
As a result of the leak and pre-announcement around 20:00 UTC, Calif, one of the security firms that had reported the issues mistakenly published a video. It showed their proof of concept working against a number of targets and revealed a few additional, though limited, details about the vulnerabilities. Copies of the deleted video started circulating on social media soon after. The video contributed to accelerated development of various PoCs (exploitation proof of concepts), which then increased circulation on October 21st.
Mitigation advice we started providing to a few critical infrastructure providers around Oct 20th 23:00 UTC, may have leaked as well. The PHP security team closely monitored and inspected appearing PoCs after the leak but did not identify any functional exploits at the time of release/public disclosure.
On October 21st at 07:41 UTC, more than six hours before the coordinated release, Chainguard unilaterally broke the embargo and published built images containing the fix. Like other distributors, Chainguard had received the patch in advance so its users could update the moment the vulnerabilities were disclosed. Any attacker could now study the fix in binary form while every other PHP user was still waiting for the release. This disregarded weeks of work by many parties toward a coordinated disclosure.
A cautiously optimistic outlook
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.
What we need from you
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. Yet 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. We can only achieve this goal with funding from those who depend on PHP:

Companies that build products and services on PHP: please sponsor the PHP Foundation at a level that reflects how much you rely on it.
Hosting providers, cloud platforms, and distributions that deliver PHP to millions of users.
Governments and public institutions whose services run on PHP. The German Sovereign Tech Agency's funding of the 2024 audit shows what public investment can achieve, and we need more of it, on a sustained basis.

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.
Thank you
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.

The PHP Foundation

LinkedIn

Mastodon

X

GitHub

Previous
How the PHP Security Team Handles Your Reports

Edit this page on GitHub

Sponsor
Structure
Board
Developers
News
Talks
Brand Guide
Governance
Code of Conduct
Contact

© 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.