Today's PHP Security Release, And How We're Strengthening Security
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Buying for a business?Offer from Amazon

Get business pricing on networking and server gear

  • Business-only prices and quantity discounts
  • Tax-exempt purchasing
  • Multiple users, one account, clear invoices
As an affiliate, we earn on qualifying purchases.

The PHP project released versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to address two critical vulnerabilities that could allow remote code execution under specific conditions. The PHP Foundation says it has expanded security staffing, external audits and testing, while acknowledging that a fix for one flaw was delayed by structural and resource problems.

The PHP project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21, fixing two critical vulnerabilities that could let an unauthenticated attacker execute code on servers under particular conditions. The PHP Foundation says the flaws exposed weaknesses in memory management and error handling, and it is expanding security staffing, audits and testing after acknowledging that work on one underlying issue stalled for months.

The first flaw, CVE-2026-109618, involves out-of-memory corruption. According to the PHP Foundation, when a request hit PHP’s memory limit at a particular point, the engine could leave partially initialized internal data that was later treated as valid. The Foundation says an unauthenticated request could trigger the issue on Apache running mod_php before application code ran, and that remote code execution was demonstrated with default settings. It also says code execution was confirmed through application-level paths on PHP-FPM.

The second issue, CVE-2026-109619, concerns stale global state after a fatal error. The Foundation says a later request handled by the same worker could access memory freed after the earlier failure. Researchers confirmed a use-after-free and worker crash; the Foundation says a reporter also demonstrated remote code execution against a real-world application using Apache with mod_php. The project’s php.net security announcement contains technical details and update instructions, according to the Foundation.

The Foundation describes both flaws as particularly difficult to address because they affect core engine behavior used by nearly every request. Potential fixes carried trade-offs involving compatibility, denial-of-service risk, performance or changes required across third-party extensions. The Foundation says the security team prioritized the out-of-memory issue after reports in August 2026 made its impact clearer.

At a glance
updateWhen: Released October 21, 2026
The developmentPHP published four security updates fixing two critical vulnerabilities and the PHP Foundation described changes to the project’s security work.

Why These Engine Flaws Matter

The vulnerabilities affect PHP’s handling of memory and errors, rather than a narrow feature used only by a small set of applications. That broad reach makes the issues relevant to operators of PHP services, while the reported code-execution paths make applying the released fixes a security priority. The specific exposure depends on configuration and code paths; the Foundation’s account does not establish that every PHP installation is equally vulnerable.

The release also matters because the Foundation has publicly described a delay in fixing the out-of-memory issue. It calls that delay a structural failure tied to the security team’s decision process and limited resources. The account offers a view of how competing fixes, ecosystem compatibility and a small pool of engine specialists can complicate remediation even when a possible flaw is known.

Security work is also facing a higher volume of reports, the Foundation says, as AI-assisted research expands. More staff, external audits and improved reproduction tools are intended to help the project triage findings and verify fixes. Those measures may improve capacity, but the supplied report does not establish how quickly they will reduce response times or prevent future vulnerabilities.

Products Worth Considering

Jackery Explorer 300 Portable Power Station with SolarSaga 100W Solar Panel

Jackery Explorer 300 Portable Power Station with SolarSaga 100W Solar Panel

As an affiliate, we earn on qualifying purchases.

How the Fixing Effort Developed

The PHP Foundation says PHP underwent its first external security audit in years in 2024, funded through the Sovereign Tech Agency and organized through OSTIF. Quarkslab carried out the audit. While addressing one of its findings, a PHP core developer contracted by the Foundation identified early signs of the out-of-memory problem. At that stage, the Foundation says, researchers had theorized a possible exploit but had not found a concrete attack path, while other issues with clearer impact took priority.

The project considered several possible approaches, but the Foundation says each raised concerns, including compatibility breaks, denial-of-service risk or the need to coordinate changes across many extensions. The security team worked by consensus, and the Foundation says the lack of a known route to remote code execution, together with limited specialist capacity, contributed to work stopping and restarting over several months.

The Foundation says the effort expanded in 2026. It created an Ecosystem Security Team in May to work alongside PHP’s security team on triage, coordination and hardening. Calif began an audit under the Patch the Planet program on July 30. On August 11, Calif and OpenAI independently reported the same root cause; the Foundation says OpenAI supplied additional attack vectors on September 18, while Wiz reported further findings on August 24. The Foundation also says Trail of Bits has been auditing PHP.

Staffing and tools have changed alongside the audits. Volker Dusch has worked with the Foundation as an AI Security Engineer in Residence; Alexandre Daubois joined in July to support report triage and fixes, and Daniel Scherzer joined in September for hardening work. The Foundation says PHP has also used Anthropic’s Claude Mythos for scanning, OpenAI’s Daybreak Red to validate reports and exploits, and sanitizer builds and reproduction environments matching its continuous-integration setup across supported platforms.

““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 PHP Foundation

What the Release Does Not Establish

The Foundation’s report does not provide a full account of which PHP deployments are exposed, how many servers may be affected or whether the vulnerabilities have been exploited in the wild. It says the flaws can permit code execution under particular conditions and describes specific confirmed paths, but that is not evidence that every configuration is vulnerable or that attacks have occurred.

The source material also does not include the complete technical advisories, the precise code changes in each release, or a detailed schedule for the project’s security-process reforms. It says the team has begun moving away from consensus-only decisions toward majority decisions and compromise, but gives no timetable or formal procedure. The Foundation’s supplied account ends mid-sentence when discussing CVEs published since July 1, so it does not provide a complete count of recent reports or a full measure of the increased workload.

Update and Follow the Security Work

PHP users should consult the project’s php.net security announcement for the technical advisories and instructions for their systems, then apply the release appropriate to their supported branch. The Foundation’s article is an account of the vulnerabilities and the security response, not an installation guide. Operators should use the official guidance to determine the relevant update path and verify that their services are running the patched version.

The PHP Foundation says hardening, report triage and external auditing are continuing, with several organizations and researchers involved. Further details on the security team’s processes, audit findings and remediation work may emerge from the project. The supplied material does not state a date for another report or milestone; the immediate confirmed development is the availability of the four patched releases.

Key Questions

Which PHP versions were released?

The project released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on October 21, 2026. Check the official PHP security announcement to identify the update for your branch and system.

What do the vulnerabilities allow?

The PHP Foundation says both flaws could allow remote code execution under particular conditions. One involves out-of-memory corruption; the other involves stale global state and use-after-free behavior.

Are all PHP servers confirmed to be vulnerable?

No. The Foundation describes specific attack paths, including Apache with mod_php and application-level paths on PHP-FPM, but its report does not say that every configuration or server is exposed.

Has exploitation in the wild been confirmed?

The supplied report does not say whether attackers have exploited either flaw in the wild. It describes demonstrated attack paths and confirmed technical behavior, which should not be treated as evidence of real-world attacks.

Why did it take time to fix the out-of-memory issue?

The Foundation says proposed fixes had trade-offs involving compatibility, denial-of-service risk and third-party extensions. It also cites consensus-based decision-making and limited access to specialists, and calls the resulting delay a structural failure.

Source: hn

You May Also Like

Identity Federation Explained: SSO Without the Security Gaps

Keen to understand how identity federation ensures seamless, secure SSO without exposing vulnerabilities? Discover the key strategies to keep your system protected.

How to Protect Reception, Mailroom, and Storage Areas Without Overbuilding Security

Generating effective security for reception, mailroom, and storage areas without overbuilding involves targeted strategies that keep your facility safe and efficient.

How to Separate Office Access Zones Based on Real Risk

By assessing risks and implementing targeted security measures, you can effectively separate office access zones—discover how to protect your space now.

Software Correctness & Supply Chain Security, With Sean Allen

An interview with Antithesis engineer Sean Allen explores software correctness, testing workloads, technical debt and the limits of supply-chain defenses.