Security Advisory · PHP

Critical PHP vulnerabilities: find, patch and verify every server

CVE-2026-109618 and CVE-2026-109619 allow unauthenticated remote code execution; the fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

Engineering team reviewing a server patch dashboard on a wall screen

What happened

On 21 October 2026, the PHP project released fixes for two critical vulnerabilities, CVE-2026-109618 and CVE-2026-109619, in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Both are rated Critical (CVSS 4.0 score 9.2) and allow unauthenticated remote code execution with the web server worker’s privileges; every PHP version below the fixed releases is affected.

Technical details are reported to have leaked ahead of a coordinated disclosure planned for later in the week, and CERT-EU and the Australian Signals Directorate have reportedly advised organizations to prepare for immediate patching. PHP’s own guidance is blunt: “There are no complete mitigations, updating is the only safe choice.”

9.2 / 10
CVSS 4.0 severity, both CVEs
No login required
Unauthenticated remote code execution
No fix for PHP 8.1 and older
Upgrade required
Read our full breakdown of the vulnerabilities

Are you affected?

Answer these for every server, container and hosting account you run. Apache mod_php is confirmed exploitable, and PHP-FPM is also at risk.

Do you run PHP below 8.5.12, 8.4.27, 8.3.36 or 8.2.35?
Do any systems still run PHP 8.1 or older?
Do you use Apache mod_php?
Do you use PHP-FPM?
Are you on managed hosting where you don't control the PHP version?
If you can't answer every question for every server, start with an assessment.

What to do in the next 24 hours

1
Inventory every PHP runtime
Include staging, legacy and vendor-hosted systems.
2
Patch to the fixed version for your branch
8.5.12, 8.4.27, 8.3.36 or 8.2.35.
3
Verify and restart every worker
Confirm the running version so the patched build is what serves traffic.
4
Plan end-of-life upgrades
PHP 8.1 and older get no fix; PHP 8.2 reaches end of life on 31 December 2026.

Interim mitigations, such as disabling session upload progress or enforcing memory limits, are partial. They buy time; they do not remove the risk.

How Ontrac helps

PHP Security Assessment

We inventory every PHP runtime and SAPI across your estate and report each version and its exposure, prioritized by risk.
Outcome: you know exactly where you stand and what to fix first.

Emergency Patching Assistance

We patch and verify across servers, containers and hosting panels, with a rollback plan for every change.
Outcome: fixed versions running everywhere, confirmed in writing.

End-of-Life Upgrade Plan

We move PHP 8.1 and older, and PHP 8.2 ahead of 31 December 2026, to a supported version, with a compatibility check of your application code.
Outcome: a supported runtime and a tested upgrade path.

Ongoing Patch Management

We keep PHP and its dependencies current, with monitoring and a monthly report.
Outcome: the next advisory is routine, not an emergency.

How it works

1
Share your environment
A 20-minute call or the form below is enough to get started.
2
We assess and report
You see which servers, which versions and what to fix first.
3
We patch, verify and hand over
We do the work or guide your team through it, as fast as your change process allows.

Why Ontrac

An engineering team experienced in PHP, cloud and DevOps across AWS, Azure and GCP.
We work inside your change and security process, not around it.
A clear written report your auditors and leadership can read.

Frequently asked questions

What are CVE-2026-109618 and CVE-2026-109619?

Two critical remote code execution vulnerabilities in PHP itself, rated 9.2 on CVSS 4.0 and reportedly dubbed PHP2Shell in coverage of the disclosure. Neither requires authentication to exploit. The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

Is my WordPress site affected?

If the server it runs on uses a vulnerable PHP version, yes. These are flaws in PHP itself, not in WordPress, so they affect WordPress, Drupal, Magento, Laravel and custom PHP applications alike. What matters is the PHP version on the server, not the CMS version.

Will a plugin update fix it?

No. Plugin and theme updates do not change the PHP runtime on the server, which is where these vulnerabilities live. The server’s PHP version has to move to 8.5.12, 8.4.27, 8.3.36 or 8.2.35.

What if I’m on PHP 8.1 or older?

PHP 8.1 and older are end of life and will not receive a fix. Those systems need an upgrade to a supported PHP branch, not a patch. We plan and run that upgrade, including a compatibility check of your application code.

Can a WAF or config change protect me instead of patching?

No. PHP states there are no complete mitigations and that updating is the only safe choice. Configuration measures such as disabling session upload progress or enforcing memory limits are partial and only buy time while you patch.

How do I check which PHP version my server runs?

Run php -v on the server or check the PHP settings in your hosting panel, and confirm what the web workers are actually serving, since CLI and web can differ. On managed hosting, ask your provider to confirm in writing that the fixed build is live. If you can’t verify every server quickly, that is exactly what our assessment does.