</>Vianexu News

← All news

bolt AI and tech · 7 min

The PHP flaw that made governments take sites offline — and what to do now

Two critical flaws in PHP, the technology behind much of the internet, allow an attacker to take control of a server without needing a password. Governments and companies took sites offline as a precaution. Here is what happened, what it changes for you and what to do.

PHP2Shell alert artwork with the name of the flaw in large type
Art: Vianexu ·

flash_on In 20 seconds

gpp_maybeSeverity 9.2 out of 10

Both flaws score 9.2 (CVSS 4.0), in the critical range.

lock_openNo login or password

A remote attacker can run commands on the server without being authenticated.

local_fire_departmentAlready exploited

Attempts since 17 Oct; on 26 Oct the US agency CISA added them to its list of exploited flaws.

system_updateOnly updating fixes it

Plugins and themes do not fix it: you must update PHP itself and restart it.

9.2 / 10severity of both flaws (CVSS 4.0)

On 21 October 2026, the PHP Foundation released emergency fixes for two critical flaws, CVE-2026-109618 and CVE-2026-109619, nicknamed PHP2Shell. With them, an attacker can run commands on a site's server without needing to log in. PHP powers a huge slice of the internet: TechCrunch cites around 70% of sites, an estimate that has been falling, and which includes WordPress, online stores and many portals.

The reaction was swift. According to the press, public sites in Germany, France, Belgium, the Netherlands and Finland went offline as a precaution, and the Netherlands temporarily suspended DigiD, citizens' access to government services. In Brazil, CTIR Gov published an alert asking agencies to locate PHP systems and install the fixes. As of 24 October, TechCrunch reported that a mass attack was not yet confirmed, but attempts were already real, and many servers remain unpatched.

schedule What happened, day by day

  1. ~17/OctAmazon detects the first exploitation attempt, four days before the public announcement.
  2. 21/OctPHP releases the fixed versions. The PHP Foundation says a company published the patches hours before the agreed embargo ended.
  3. 21–22/OctGovernments and companies take sites offline as a precaution. Cloudflare reports a sharp rise in exploitation attempts.
  4. 23–26/OctTrail of Bits confirms exploits working against unpatched PHP 8.2 to 8.5.
  5. 26/OctCISA adds both flaws to its catalogue of exploited vulnerabilities (KEV); US federal agencies have until 29/Oct to fix them.

translate What it is, without the jargon

PHP is the "language" that makes many sites work: it receives your request, fetches the data and builds the page. It runs inside the server, which is why a flaw in it is worth more than a flaw in a plugin: whoever exploits it takes control of the entire server.

These are two memory management flaws. In the first, when the server's memory runs out in the middle of a request, PHP clears data that was still half-finished and treats what is left as if it were valid. In the second, information left by a previous request points to memory that has already been freed, and the next request ends up using that "garbage". With enough skill, an attacker turns that slip into command execution, the so-called remote code execution (RCE). Hence the nickname: PHP + shell, the server's command line.

person_alert How this can affect your life

shield Who is at risk

The oldest flaw the researchers found dates back to PHP 5.4. Here is the situation by version:

checklist What to do now: if you have a site

  1. Find out which PHP version serves your site: in the hosting panel (in cPanel, "Select PHP Version") or ask support. Be careful: the php -v command shows the command-line PHP, which may differ from the one serving the site.
  2. Update to a fixed version (8.5.12, 8.4.27, 8.3.36, 8.2.35 or newer) or install your vendor's fixed package.
  3. Restart the PHP processes. Installing the package does not fix a process that is already running.
  4. Do not rely on temporary settings: they reduce risk but do not make the installation secure.
  5. On PHP 8.1 or earlier without support? Migrate to a supported version (preferably 8.4 or 8.5). If that is not possible now, consider taking the site offline or putting it into maintenance until it is resolved.
  6. Look for signs of intrusion, especially since 17/Oct: new and strange files, PHP processes spawning commands or downloading programs, abnormal traffic. If you find anything, do not delete it: preserve the evidence and call a specialist.
  7. Change the server's passwords and keys (database, email, APIs). If you use UpdraftCentral on WordPress, delete its keys: Patchstack reports attackers using valid keys to install backdoors.
  8. An application firewall (WAF), such as Cloudflare's, is a stopgap, not the solution: it only protects traffic that passes through it.

person What if I only use the internet?

hub It is not just PHP: what this shows

This is not the first time a hidden piece underneath everything threatens half the world. Heartbleed (2014) was in OpenSSL, which protects secure connections. Log4Shell (2021) was in Log4j, a Java logging library used in millions of systems. In 2024, a backdoor was planted in XZ Utils, a compression utility present on many Linux servers, and was only discovered by chance.

The pattern repeats: components nobody sees, old software that is hard to update and memory flaws in languages that do not protect the programmer from this kind of error. TechCrunch notes that the migration to safer languages is advancing but is incomplete, and that researchers say AI tools speed up the discovery of flaws; Calif and Wiz, which found these, used AI in the work. No technology is immune.

What helps in any case: knowing what you run (server system, WordPress and plugins, libraries, containers, even the router), having someone who follows the alerts and updating fast.

menu_book Glossary

RCE (remote code execution)
When an attacker manages to make the server run commands remotely.
CVE
Public catalogue number for a security flaw. Here, CVE-2026-109618 and CVE-2026-109619.
CVSS
Severity score from 0 to 10. Above 9 is critical; these score 9.2.
Patch
The vendor's fix that repairs the flaw.
mod_php / PHP-FPM
Ways for the web server to run PHP. PHP considers Apache's mod_php the highest risk.
Use-after-free
An error in which the program uses memory that has already been returned to the system, which attackers can exploit.
Exploit
Code or technique that takes advantage of a flaw.
KEV
CISA's catalogue of flaws that are already being exploited in practice.
WAF
Application firewall: a filter that tries to block malicious requests before they reach the site.
Backdoor / webshell
A back door left by an attacker to return to the server later.

help What is not known yet

forum Frequently asked questions

My site is WordPress. Does updating plugins and themes fix it?expand_more

No. The flaw is in PHP, which runs underneath WordPress. Only updating PHP (or your vendor's fixed package) fixes it, followed by a restart.

How do I find out my site's PHP version?expand_more

Through the hosting panel (in cPanel, Select PHP Version) or by asking support. The php -v command shows the command-line version, which may differ from the one serving the site.

Is this already being used in attacks?expand_more

Yes, exploitation has been observed: Amazon recorded an attempt on 17/Oct, and CISA added the flaws to its catalogue of exploited vulnerabilities on 26/Oct. A confirmed mass attack, however, had not been reported as of 24/Oct.

Do I need to do anything if I only use sites and apps?expand_more

You do not need to install anything because of this, but it is worth using different passwords for each service, turning on two-step verification and being wary of "security" messages asking for a password or payment.

My hosting uses PHP 7.4. What now?expand_more

PHP has not released an official fix for the 7.4 to 8.1 series. Ask your hosting provider whether it has its own fix and plan to migrate to a supported version (8.4 or 8.5).

Worth sharing? Send it to someone who needs to know.

newspaper Read next

link Sources (6)

How we work: only facts that appear in the cited sources; quotes checked word for word; no opinion and no predictions. Written with the help of artificial intelligence and reviewed by automatic rules.