What happened?
PHP2Shell involves two security vulnerabilities: CVE-2026-109618 and CVE-2026-109619. They affect PHP's memory management and error handling – areas involved in almost every request. As a result, virtually every PHP version released over the past decade was vulnerable.
On 11 August, security company Calif reported a working exploit discovered with the help of AI within OpenAI. Wiz submitted a similar report shortly afterwards. From that point on, resolving the issue became the PHP security team's highest priority. What followed was a coordinated process involving researchers, distributors, Cloudflare and government authorities, all working under an embargo until the agreed disclosure date – standard practice for security updates.
This time, however, the embargo did not hold. On 20 October, the CVE identifiers were already circulating on forums, accompanied by incorrect severity ratings and an inaccurate disclosure date. Shortly afterwards, a video demonstrating a proof of concept was accidentally published. Amazon had also detected attack traffic targeting the vulnerabilities as early as 17 October.
The situation escalated further when Chainguard released container images containing the PHP Foundation's patch at 07:41 UTC on 21 October – more than six hours ahead of the agreed release time. Like other distributors, Chainguard had received the patch in advance so that customers could update their systems at the scheduled time. The early release meant that attackers could study the patch while the rest of the world was still waiting, putting enormous pressure on the PHP community.
Later that day, the official releases became available: PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. For older versions – 7.4, 8.0 and 8.1 – which were no longer officially supported, the security team published fixes as source code on GitHub.
The barrier to exploitation fell considerably when working exploits appeared just hours after the official release. On 26 October, the US Cybersecurity and Infrastructure Security Agency (CISA) added both vulnerabilities to its catalogue of known exploited vulnerabilities. Operators needed to update their systems as quickly as possible to protect their applications.
How did we get here?
Every piece of software has vulnerabilities, whether proprietary or open source. What matters is how transparently they are addressed. Anyone who has worked in a software development team knows that issues without an immediate impact on an ongoing project tend to end up at the bottom of the backlog. That is precisely what happened here.
Let's go back to 2024. For the first time in more than a decade, the PHP core underwent an external security audit, carried out by Quarkslab. The audit was funded by the Sovereign Tech Agency, a German government-backed initiative supporting open digital infrastructure.
While fixing one of the identified issues, a developer discovered early indications of the memory management problem behind one of the two vulnerabilities. However, as nobody could identify a concrete attack vector and other findings posed significantly greater risks, both vulnerabilities slipped down the backlog.
Progress stalled. The security team explored several possible solutions, each involving difficult trade-offs. One would have affected compatibility with existing software. Another could have opened the door to attacks capable of bringing servers down. A third would have required countless third-party extensions to be modified.
The team made decisions by consensus, and only a handful of people understand the PHP engine well enough to make such complex judgements. Those same people had other responsibilities, so progress repeatedly slowed.
The PHP Foundation has been remarkably open about what went wrong. It describes the delay as a structural failure caused by insufficient staffing, limited funding and consensus-based decision-making.
However, interpreting this as proof that open source cannot make difficult decisions misses the bigger picture. Without a known attack vector, a vulnerability is likely to fall down the priority list in almost any organisation – including commercial software vendors.
Once a working exploit became known, the same team made a decision. Within ten weeks, it produced a fix spanning hundreds of files – comfortably within the standard 90-day disclosure period that Google's Project Zero gives vendors.
The initial delay and the lengthy process of finding a solution were largely consequences of insufficient staffing. With more specialists working on the PHP engine, there would have been greater capacity to evaluate options and reach decisions more quickly.
The figures illustrate just how stretched the organisation is. In 2025, the PHP Foundation received US$730,534 from 536 companies and individuals – less than the previous year. It deliberately spent around US$139,000 more than it received to retain its thirteen developers, some of whom work part-time.
This is the team maintaining a programming language that powers around seventy per cent of the internet.
How the community responded
Once the crisis was in full swing, the strengths of the open-source model became clear.
Ilija Tovilo, Arnaud Le Blanc and Jakub Zelenka took on the main technical work of developing the fix. Volker Dusch coordinated the effort. His employer, Tideways, had released him from his regular duties for six months to work with the PHP Foundation's Ecosystem Security Team, which had only been established in May with funding from Alpha-Omega.
Two engineers recruited over the summer strengthened the team. For weeks, they worked full-time on this single issue, even working weekends towards the end.
Around them, an entire response network sprang into action. Ondřej Surý, who has been packaging PHP for Debian since version 5 and maintains a repository used by a large part of the PHP ecosystem, made the new versions available. Hosting providers rolled out updates, while Cloudflare introduced a protective rule for all customers – including those on free plans.
In the Drupal ecosystem, the security team issued advisory PSA-2026-10-20. Drupal core itself was not vulnerable, but every Drupal website runs on PHP. The recommendation was therefore clear: update PHP immediately.
The Drupal Association updated Drupal.org and, on 22 October, published guidance advising website administrators to examine logs dating back to 17 October. After all, a patched server tells you nothing about what might have happened before the patch was applied.
Drupal agencies did the same, often managing updates and investigations across dozens of client websites simultaneously.
The PHP Foundation also took action. Firstly, its funding from third parties has since become considerably more robust, as concerned companies stepped up their financial support. Secondly, the security team now makes decisions by majority vote rather than consensus.
The fundamental difference from proprietary software remains transparency. Instead of issuing a reassuring press release, the Foundation published a candid report that acknowledged its own mistakes. Anyone can examine the fixes line by line and verify them independently, rather than simply having to trust a vendor's assurances.
What open source contributes to the world
Imagine open source disappeared tomorrow and every company had to rebuild everything itself.
In 2024, Manuel Hoffmann, Frank Nagle and Yanuo Zhou of Harvard Business School calculated what that would cost. Recreating all widely used open-source software once would require approximately US$4.15 billion.
But if every company using that software had to develop its own alternatives, the cost would rise to US$8.8 trillion – roughly 3.5 times current software expenditure. For comparison, global spending on commercial software amounted to around US$3.4 trillion in 2020.
Most of this value flows into commercial products. Open-source software is present in 96 per cent of the codebases examined, and according to the same study, 96 per cent of its value is generated by just 5 per cent of developers.
Behind these figures are real people.
PHP powers online shops, banks and public services, yet it is maintained on an annual budget of around US$1 million.
This is possible because individual organisations take responsibility: the 2024 audit funded by the German government, the new security team supported by Alpha-Omega (Linux Foundation and OpenSSF), and a coordinator seconded by a small German company.
The vast majority of those who benefit from open source still contribute nothing towards maintaining it.
But therein lies a tremendous opportunity. If a relatively small number of contributors can achieve so much, imagine what would be possible if more organisations became involved.
Following the crisis, new sponsors came on board. Tideways doubled its contribution to US$24,000 per year, while Chainguard has been contributing US$50,000 since October.
Similar initiatives emerged after Heartbleed in 2014, with the Core Infrastructure Initiative, and after Log4Shell through OpenSSF.
The next step is to make financial support an integral part of software development from the outset, rather than something that only materialises in response to a crisis.
Keeping the system running – together
Maintaining open-source software is an everyday responsibility. It rarely generates headlines or exciting new features. Instead, it means reading code, writing tests, reviewing reports and evaluating the potential impact on other packages.
And the workload is growing.
Since 1 July, PHP releases have addressed 37 CVEs, including 20 in October and November alone. By mid-October, the security team had also closed 106 reports that turned out not to be vulnerabilities, had already been reported or could not be reproduced.
AI makes it easier to discover vulnerabilities – but also to submit inaccurate or meaningless reports. In sufficient numbers, these can have an effect similar to a distributed denial-of-service (DDoS) attack, consuming valuable time that maintainers could spend on genuine problems.
Then there is the complexity of the software stack.
A Drupal website relies on core and contributed modules, Symfony, PHP packages, PHP itself, OpenSSL and Linux. Every layer has its own maintainers, budgets and risks. What happens at one level affects everything built on top of it – both the strength and the vulnerability of interconnected software.
Long-term sustainability requires action on both sides: maintainability from developers and up-to-date systems from users.
According to The New Stack, an estimated forty per cent of PHP users are running unsupported versions. When the fixes were released on 21 October, there were no official updates for these versions – only source code that administrators would have to compile themselves.
Those running supported versions could secure their systems that same day. Those relying on outdated versions first had to migrate.
Awareness is also growing across Europe. In April 2026, the European Commission presented an open-source strategy as part of its technological sovereignty package.
OpenForum Europe, together with partners from industry and civil society, is calling for an EU Sovereign Tech Fund worth at least €350 million over seven years, modelled on Germany's approach.
According to Tech Policy Press, the funding allocated by the Commission so far is a starting point, but it is not enough.
So, get involved
If you benefit from open source, you can also help sustain it – whether you are an agency developing Drupal websites, an organisation running its own digital services or a public authority providing services to citizens.
Contributing is an investment in your own infrastructure. And the benefits go beyond more secure software: access to expertise, influence over project development and participation in a global community.
Nor is contributing just about writing code. Bug reports, testing, documentation, translations, code reviews and organising meetups are equally valuable.
- Support the Open Source Pledge and PHP Foundation: Join the Open Source Pledge as a company and support the PHP Foundation through Open Collective or corporate membership. According to Volker Dusch, this is the most direct way to tackle structural problems before they become emergencies. It is also worth reviewing your
composer.json: which packages are maintained by just one or two people? - Support Drupal and your local community: Become a member of the Drupal Association, either individually or as an organisation, and enable employees to contribute to Drupal.org during working hours. Support local Drupal associations and meetups too – by attending, organising or sponsoring them.
- Contribute time: Tideways released Volker Dusch for six months to work with the PHP Foundation. That additional capacity played a crucial role in resolving the PHP2Shell crisis. Even dedicating one regular day a month to maintaining important dependencies can make a tangible difference.
- Rethink procurement and commissioning: Public authorities and larger organisations often cannot simply make donations, but they can award contracts. At Drupal4Gov EU in Brussels in 2026, Tiffany Farriss, CEO of the Drupal Association, proposed allocating 2–5 per cent of a contract's value – or up to 10 per cent for complex projects – to maintaining the open-source components used, right from the outset. She also advocated taking verifiable open-source contributions into account during procurement. Sebastian Bergmann has raised a similar idea for the PHP ecosystem.
- Invest in foundations and funding programmes: Public funding can strengthen the structures that open source depends on. Germany's Sovereign Tech Agency demonstrates what is possible through initiatives such as the 2024 PHP audit and the modernisation of core PHP components. National programmes and a European Sovereign Tech Fund are direct investments in the digital infrastructure underpinning public services.
PHP2Shell demonstrated what makes open source distinctive. A vulnerability affecting everyone was addressed openly by people from around the world, in a repository that anyone can inspect. This community welcomes everyone who builds upon its work. And the more organisations contribute, the better prepared we will all be to face the next challenge together.