PHP is trending again after PHP2Shell: real comeback or security-driven spike?

Home / Blog / PHP After PHP2Shell

PHP Is Trending Again After PHP2Shell: Real Comeback or Security-Driven Spike?

PHP briefly out-searched Python in late October 2026 after two critical engine flaws. What the data means, what PHP2Shell is, and what site owners should do now.

European IT Solutions

European IT Solutions

Published in EUITSols · Nov 2, 2026 · 14 min read

Quick Answer

PHP’s sudden jump in Google searches in late October 2026 came from PHP2Shell, two critical flaws in the PHP engine (CVE-2026-109618 and CVE-2026-109619). They were fixed on October 21, 2026 in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. The spike reflects urgency more than developers switching languages, and PHP never really went anywhere. If your website runs on PHP, update the PHP runtime on your server. Updating WordPress or your plugins alone won’t fix it.

Key Takeaways

  • PHP2Shell is two engine-level PHP bugs that can let an attacker run code on a web server without logging in. Both are rated 9.2 (Critical) on CVSS v4.0.
  • Safe versions: PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, or newer. PHP 8.1 and older are end-of-life.
  • Attacks are real: exploitation attempts were seen on October 17, before public disclosure, and CISA added both CVEs to its Known Exploited Vulnerabilities catalog on October 26, 2026.
  • The search spike: in a 30-day worldwide Google Trends comparison, “php” rose from below Python to a peak of 100 around October 20–21. It then cooled, but finished the month roughly level with Python.
  • The big question: is PHP having a genuine comeback, or a temporary surge driven by a security scare?

The Week a “Dead” Language Out-Searched Python

For more than a decade, developers have joked that PHP is dying. Then, in the third week of October 2026, PHP briefly pulled ahead of Python in relative Google search interest. Python is the language behind today’s AI boom.

No new framework or viral conference talk caused it. The cause was an urgent security crisis. Government websites went offline, hosting companies patched servers through the night, and business owners who had never thought about their server stack were suddenly searching for “PHP.”

At EUITSols we work with PHP, WordPress and Laravel every day, so we watched this closely. Below we explain what the data shows, what it doesn’t, and what you should do now.

Google Trends chart comparing PHP, Python and JavaScript search interest in October 2026

We compared three items in Google Trends using these settings:

  • Region: Worldwide
  • Time range: Past 30 days (late September to late October 2026)
  • Compared items: “php” (search term), Python (programming language topic) and JavaScript (programming language topic)

The pattern is easy to read:

  1. Before October 19: PHP sat quietly at around 8–10 on the chart, below Python (about 15–25). JavaScript was lowest at roughly 5–10.
  2. October 20–21: PHP shot to the chart’s maximum of 100. Those are the exact days the vulnerability details leaked and the patches were released.
  3. After October 24: the spike faded quickly. PHP still ended the month around 15–20, roughly level with Python and well above its own earlier baseline.

Two caveats keep this honest:

  • Google Trends is relative, not absolute. The 0–100 scale is indexed to the highest point on the chart. A score of 100 means “peak interest in this window,” not a specific number of searches.
  • We compared a search term with two topics. Google notes that these are measured differently. Focus on the shape and timing of the lines rather than the exact gaps between them.

The fair reading is a sharp, news-driven burst of attention followed by a smaller lift that may or may not last.

What Is PHP2Shell, in Plain English?

PHP2Shell is the nickname for two critical vulnerabilities in the PHP engine itself. They are not bugs in WordPress, Laravel or any particular plugin.

CVE-2026-109618: Memory corruption when PHP runs out of memory

  • PHP caps the memory each request can use.
  • If a request hits that limit at exactly the wrong moment, PHP can leave half-built internal data behind and later treat it as valid.
  • Attackers can trigger this mainly through specially crafted form or upload (multipart) requests.
  • On Apache with mod_php, the attack can fire before your application code even runs.

CVE-2026-109619: Leftover data between requests

  • After certain errors, PHP can keep a reference to memory that has already been freed.
  • The next visitor’s request on the same PHP worker may then reuse that stale data. This is a classic “use-after-free” bug.
  • One confirmed attack route runs through PHP’s session upload-progress feature.

Why it matters

  • No password needed: an attacker doesn’t have to log in.
  • No user action needed: nobody has to click a link or open a file.
  • Old code: public analyses trace the vulnerable code back to PHP 5.4 (2012). This flaw stayed hidden for years rather than being a new mistake.

How It Unfolded: A Quick Timeline

  1. 2024: An external security audit of PHP first spotted the out-of-memory weakness, but nobody could show a practical attack at the time.
  2. July 30, 2026: Security firm Calif starts auditing PHP under OpenAI’s Patch the Planet open-source security program.
  3. August 11, 2026: Calif reports a working unauthenticated attack. OpenAI says an AI model, GPT-5.6 Sol, assisted the research.
  4. August 24 and September 18, 2026: Wiz and OpenAI report further attack paths.
  5. October 17, 2026: Amazon detects an exploitation attempt against its honeypot servers, four days before disclosure.
  6. October 20, 2026: The vulnerability IDs leak online and a proof-of-concept video circulates briefly.
  7. October 21, 2026 (14:00 UTC): PHP releases fixed versions for every supported branch.
  8. October 21–22, 2026: Organisations worldwide take sites offline as a precaution. In the UK, dozens of government services were reportedly unavailable.
  9. October 26, 2026: CISA adds both CVEs to its Known Exploited Vulnerabilities catalog.

How big did it get?

  • Cloudflare reported attack attempts growing from thousands to millions within hours of the announcement.
  • Internet scanners tracked tens of millions of internet-facing services showing potentially affected PHP versions. These are counts of services, not unique servers.
  • Security firm Trail of Bits later confirmed working exploits against unpatched PHP 8.2–8.5, demonstrated on popular platforms such as MediaWiki, Symfony, Laravel and phpBB.

Is PHP Making a Comeback, or Is This a Temporary Surge?

This is the question we want you to weigh in on. Here is the strongest case on each side.

The case for a “temporary, security-driven surge”

  • The timing gives it away. The spike lines up almost to the hour with the leak and the patch. People searched because they were worried, not because they were choosing a language for their next project.
  • Security spikes fade. “Log4j” dominated searches during the Log4Shell crisis in December 2021, then dropped back once patching was done. Nobody called that a Java renaissance.
  • The long-term share is slowly declining. PHP’s share of websites has drifted down from the low 70s a year ago.
  • The industry is moving toward memory safety. PHP2Shell is a memory bug in an engine written in C. US agencies including CISA and the NSA have been pushing memory-safe languages for new software, and incidents like this support their argument.

The case for a “genuine comeback” (or at least renewed respect)

  • PHP never left. According to W3Techs (October 31, 2026), PHP runs on 69.2% of websites whose server-side language is known. It powers WordPress, Drupal, Joomla, Magento and the software behind Wikipedia.
  • Modern PHP is a different language. PHP 8.x brought JIT compilation, enums, readonly properties, fibers and much stronger typing. Combined with Laravel and Symfony, it is a productive choice for serious applications.
  • The response showed maturity. About two months of coordination between maintainers, AI labs, cloud providers and governments led to same-day patches for every supported branch. The PHP Foundation has also been investing in a dedicated ecosystem security team.
  • The leftover lift is interesting. After the spike, PHP didn’t fall back to its old baseline. It ended the month level with Python. One week is too little to call a trend, but it is worth watching.

Our take at EUITSols

We see October 2026 as a temporary surge in attention on top of a solid, underrated foundation. The spike itself will fade. The lasting change will probably be more businesses auditing their PHP, retiring outdated versions and budgeting properly for maintenance. That is less a comeback in popularity than a comeback in respect and responsibility.

Now we want to hear from you. Is PHP having a real moment, or will it quietly go back to being “boring infrastructure” by the new year? Share your view in the comments, or join the conversation on LinkedIn, Facebook or X with #PHPComeback.

What to Do Right Now If Your Website Runs on PHP

Whether you manage one WordPress site or many Laravel applications, follow these steps:

  1. Find every PHP installation. Start with internet-facing servers, then internal systems. Include Docker images, staging sites and old microsites. Check firewalls, VPNs, NAS devices and control panels that may bundle PHP.
  2. Update the PHP runtime. Move to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or newer, or install your Linux distribution’s patched package. Confirm the fix through your vendor’s security advisory. Don’t rely on php -v, because distributions often backport fixes without changing the version number.
  3. Restart everything. Restart PHP-FPM, Apache and any long-running PHP workers so the patched code actually loads. Rebuild container images instead of assuming they picked up the update.
  4. Remember that a WordPress update is not enough. PHP2Shell lives in PHP, underneath WordPress. If you use shared or managed hosting, ask your host directly whether PHP has been patched and restarted.
  5. Treat PHP 8.1 and older as urgent. These versions are end-of-life and get no official releases. Upgrade, use a trusted vendor backport, or take the system offline until it is protected.
  6. If you can’t patch today, reduce the risk, but don’t call it fixed. There is no complete workaround. Partial measures include: blocking or limiting multipart (upload) requests where your site doesn’t need them; turning off session upload progress; on PHP 8.5, disabling fatal error backtraces; restarting all workers afterwards.
  7. Check for signs of compromise from October 17 onward. Review unusual POST requests, new PHP files in upload folders and unexpected outbound connections. Rotate passwords, API keys and tokens if you suspect exposure.
  8. Plan your next upgrade now. PHP 8.2 security support ends on December 31, 2026. If you just patched to 8.2.35, schedule a move to PHP 8.3 or newer.

How EUITSols Can Help

PHP2Shell showed how many businesses don’t know which PHP version runs their website, who is responsible for patching it, or how long a fix would take. EUITSols can help close that gap:

  • PHP security check: we find every PHP runtime across your websites, servers and containers, confirm the patch status and look for signs of compromise.
  • PHP version upgrades: we move you from end-of-life PHP (7.x, 8.0, 8.1) or the soon-to-expire 8.2 to a supported release, with compatibility testing for your code, themes and plugins.
  • WordPress and Laravel maintenance: ongoing updates, monitoring and backups, so the next emergency patch is applied in hours, not weeks.
  • Server hardening: secure PHP-FPM and web server configuration, firewall rules and logging that make incidents easier to detect and investigate.

Book a free PHP security check with EUITSols

Frequently Asked Questions

What is PHP2Shell?

PHP2Shell is the name for two critical vulnerabilities in the PHP engine, CVE-2026-109618 and CVE-2026-109619, disclosed on October 21, 2026. Under certain conditions, they let an attacker run code on a web server without logging in.

Which PHP versions fix PHP2Shell?

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, or later releases. Linux distribution packages with backported fixes are also safe. Confirm this through your vendor's advisory.

Does updating WordPress fix PHP2Shell?

No. The flaws are in PHP, which runs underneath WordPress. You or your hosting provider must update and restart the PHP runtime.

Is PHP2Shell being actively exploited?

Yes. Attempts were seen on October 17, 2026, before public disclosure, and CISA added both vulnerabilities to its Known Exploited Vulnerabilities catalog on October 26, 2026.

Why did PHP spike on Google Trends in October 2026?

Searches surged around October 20–21, when the vulnerabilities leaked and patches were released, as website owners and developers looked for answers. Google Trends shows relative interest on a 0–100 scale, not exact search numbers.

Is PHP making a comeback in 2026?

In usage terms, PHP never left: it still runs about 69% of websites with a known server-side language. The October spike was mainly security-driven, and whether it turns into lasting interest is still an open question.

What should I do if I'm still on PHP 8.1 or older?

Upgrade to a supported version as soon as possible. Until then, use a trusted vendor backport, or take the system offline if it can't be protected.

Get security and PHP updates

Practical notes on PHP, WordPress and keeping business sites secure and up to date.

Share

Need a PHP security check?

We help businesses confirm PHP versions, apply patches and harden WordPress or Laravel stacks.

Get a Free Consultation