Pular para o conteúdo
← Back to Skalablog

Published article

2 critical PHP RCE bugs leaked before patch day

Software EngineeringOpenAI

The PHP RCE bugs leaked on Hacker News on October 20, 2026, one day before PHP shipped fixes; PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 close the two flaws. Site owners on shared hosting cannot patch PHP themselves, so the first useful step is checking which PHP version the host now serves.

PHP RCE bugs leaked: what are CVE-2026-109618 and CVE-2026-109619?

The two PHP RCE bugs leaked on Hacker News on October 20, 2026 are memory-safety flaws inside the PHP interpreter that can let an attacker run code as the web worker. CVE-2026-109618 is an out-of-memory corruption bug and CVE-2026-109619 is a stale global state bug; both are fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, which PHP released on October 21, 2026.

PHP, the server-side scripting language that renders most of the web's dynamic pages, published both fixes in its security release notes. The first flaw triggers when a request reaches PHP's memory limit at the wrong moment, so the engine abandons internal setup halfway through. The cleanup path then treats the incomplete structure as if it were valid. The second flaw lets data from one request survive after its memory is freed, and the next request handled by the same worker can reach it before PHP resets the worker state.

Neither flaw needs credentials. PHP's own advisory describes the risk as highest under Apache with mod_php, where the attack can fire before any application code runs, and says the second flaw was also confirmed on PHP-FPM, the FastCGI process manager many hosts use behind Nginx. If an attack succeeds, the attacker's code runs with the same permissions as the web worker.

ItemDetail
CVE-2026-109618RCE via out-of-memory corruption
CVE-2026-109619RCE via stale global state
Fixed versions8.5.12, 8.4.27, 8.3.36, 8.2.35
PHP severity score9.2 out of 10
NVD severity score9.8
Release dateOctober 21, 2026
App-layer patchNone needed in WordPress

Why the PHP RCE bugs took years to fix

The PHP RCE bugs took years to fix because the underlying memory-limit defect is old, hard to trigger reliably, and stalled after a 2024 audit found the pattern without a concrete attack path. The PHP Foundation describes that stall as a structural failure in its post about the disclosure.

Researchers trace the first PHP memory-limit corruption of this kind back to 2004, per the security firm that reported the flaw. In 2024 an outside audit led a PHP developer to early signs of the same problem, but nobody produced a working exploit, so the fix sat unresolved. The affected code reaches back to PHP 5.4 according to the reporting firms, while PHP's own advisories list only the branches it still supports.

AI-assisted code review changed the outcome. On August 11, 2026 an OpenAI-led report and a separate report from the security firm Calif both pointed at the same root cause, and further attack paths followed on August 24, 2026. One researcher's public summary was blunt: in 2026, AI did most of the work.

The Foundation also published context on workload. Its security team shipped 15 CVEs since July 1, 2026 and processed more than 100 reports that proved invalid, duplicated or impossible to reproduce. That ratio shapes how fast a real memory-corruption report can move.

The leak timeline: how a patch release moved forward a day

The leak moved PHP's patch release forward by one day after an unverified Hacker News post on October 20, 2026 forced the security team to publish earlier than planned. The scheduled date was October 22, 2026; the fixes shipped on October 21, 2026 at around 14:00 UTC.

The sequence matters for anyone deciding whether to trust unofficial summaries:

Is anyone exploiting the PHP bugs yet?

Exploitation evidence for the PHP bugs was mixed on the days around release, with some vendors reporting active attempts and others reporting only scanning. No confirmed mass compromise had been published, and neither CVE appeared on CISA's Known Exploited Vulnerabilities catalog in the video's account.

The vendor reports diverged in ways that matter:

How to check your PHP version on shared hosting, WordPress and a VPS

How you check your PHP version depends on who controls the interpreter: on shared hosting the provider patches PHP, in WordPress you read the version from Site Health, and on a VPS the update is your responsibility. Updating WordPress, Laravel or any plugin does not close either flaw because the defect lives in PHP itself.

Use the path that matches your setup:

What hosts and vendors actually said

Hosts split between claiming protection and describing patch work in progress, and the difference between those two statements is what site owners should track. Hostinger posted publicly that it tested the flaw on live servers and that it could not be used to take over sites hosted there, WordPress included, while saying it was applying PHP's fix across its hosting anyway.

That is a vendor claim, and it deserves the label. When the video's author checked the same day, Hostinger's status page and blog carried no notice about the incident. SiteGround and DreamHost said protections were in place across their servers, and Namecheap said it was installing patches.

A widely shared figure deserves correction. The number 142,401 appeared in social posts as a count of exposed Hostinger hosts, but the analysis behind it counted every PHP host on each network from Shodan data collected on October 20, 2026. That is not a count of unpatched Hostinger servers.

Scope matters when reading any coverage of the PHP RCE bugs leaked ahead of schedule. A host-level firewall rule, a WAF signature and a patched interpreter are three different levels of protection, and only the last one removes the flaw.

What to do if you cannot patch immediately

If you cannot patch immediately, treat firewall rules and configuration changes as time bought, not as a fix, and consider taking the system offline when the exposure is unacceptable. PHP states there is no complete workaround for either flaw, and both the UK National Cyber Security Centre and the FBI advised considering taking systems offline until they can be updated.

Practical steps, in the order that limits exposure fastest:

Frequently asked questions about the leaked PHP vulnerabilities

  • Do I need to update WordPress to fix this? No. The flaws sit in PHP, not in WordPress or its plugins, and WordPress stated that no core update addresses them. Confirm with your host that the PHP interpreter has been patched.
  • Which PHP versions contain the fix? PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 shipped on October 21, 2026. Branches older than 8.2 receive no update from the PHP project, though small source backports exist for people who build PHP themselves.
  • Is a Cloudflare firewall rule enough? No. Cloudflare enabled rules as an early stopgap, and its CTO described them that way. A WAF rule reduces exposure while you patch; it does not remove the underlying flaw from the interpreter.
  • Why did my PHP version not change after the fix? Distribution packages often backport a security fix and keep the original version number. Read the distribution's security notice or changelog rather than trusting the version string alone.
  • Does running PHP-FPM instead of mod_php make me safe? No. PHP's advisory says the second flaw was confirmed on PHP-FPM as well, and the risk is described as highest, not exclusive, under Apache with mod_php.
  • Were the bugs already being exploited before the patch? Reports conflicted. One vendor reported active attempts against honeypots and another reported early attacks emerging, while a WordPress security vendor saw probing only, and neither CVE was on CISA's known exploited list at the time of the video.
  • What was the severity score discrepancy about? PHP rated both flaws 9.2 out of 10 while the National Vulnerability Database gave 9.8 on its older scale. Different scoring systems produced different numbers for the same pair of bugs.
  • Did AI find these vulnerabilities? AI-assisted review played a central role in turning a known-but-unexploitable defect into a demonstrated attack path in August 2026, and the reporting firms said so publicly. Human security teams still validated and disclosed the reports.
  • Who is responsible for patching on a VPS? You are. Hostinger's own documentation states that on a regular VPS the customer handles everything, security updates included, so the patch is your job rather than the provider's.

Why this leak matters beyond one patch cycle

This leak matters because it exposed how a coordinated disclosure plan behaves when an unverified forum post arrives a day early: vendors accelerate, embargoes break in more than one direction, and site owners get partial information at exactly the moment they need clarity. The vulnerability itself was patched within a day of the leak, but the coordination failure outlived it.

The PHP RCE bugs leaked before a proof of concept was public, and copies of a mistakenly published demonstration still circulated. A vendor published patched builds early enough for anyone to compare the fix. Neither event required malice, and both shortened the window between disclosure and study.

For developers, the durable lesson is unglamorous: keep the runtime current, treat a WAF as a delay mechanism, and know whether the interpreter under your application is controlled by you or by a provider. That distinction decides whether the next critical language bug costs you an afternoon or a week.

Skala Blog turns video coverage of incidents like this into written reference material you can check later, which matters when the timeline of a disclosure is the thing you need to remember.

From video explainer to written record

A fast-moving disclosure like this one is easy to follow in a video and hard to cite a month later. If you have explained an incident, a patch process or a security decision on camera, that reasoning already exists in usable form.

Skala Blog takes a YouTube URL, transcribes the video and produces a structured article you can review and edit before publishing. The analysis you recorded once becomes a written page that readers and search engines can find.

Paste the link at crazystack.com.br or start directly with Skala Blog.

Source video