Skip to main content

PHP security · As of

PHP security flaw: check your version, PHP update, emergency line

What is known about PHP security, with sources and dates: how to check the PHP version of your website, which versions still receive security updates, and what Coday offers, from the PHP update to maintenance and the emergency line.

By Umutcan Emre Tezgel, owner of Coday in Wetzlar · updated on

In short: The PHP flaws of October 2026 are in PHP itself, not in WordPress: updating WordPress, plugins or the theme does not close them. Ask your hosting provider first whether PHP on your package has been updated, and check the PHP version of your website. If your PHP branch no longer receives security updates, or soon will not, an update is due. Coday handles the PHP update at a fixed price after a free check, ongoing maintenance, the emergency line and, if you want, a rebuild without PHP.

Emergency line: reachable around the clock, including nights and weekends

I work on my own. If I do not pick up, send me the address of your website and what happened through the emergency form on codayweb.de; I get back to you as soon as I see the message. I do not promise a fixed time for my reply.

Go to the emergency form

For anything that is not urgent: Mon–Fri, 9:00–18:00.

Situation

Current situation

Every statement with its source; the numbers lead to the list at the end of the page. The BSI is listed there with the title and date of its notice.

Current

PHP2Shell: emergency PHP updates of 21 October 2026

Published on · Facts as of

Identifiers: CVE-2026-109618 (CVSS 4.0: 9.2) [1], CVE-2026-109619 (CVSS 4.0: 9.2) [2]

On 21 October 2026 the PHP project released emergency updates for two critical security flaws that became known as “PHP2Shell”. They can let attackers run code on a web server without logging in. [3] [4] [5]

The PHP project rates both flaws at 9.2 out of 10 (CVSS 4.0). [6] [1] [2]

The flaws are in PHP itself, not in WordPress, its plugins or the theme. According to the BSI, updating the application is therefore not enough; the PHP version on the server has to be updated. [7] [8] [4]

The flaws are fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and in packages into which a Linux distribution or a long-term support vendor has applied the fixes. PHP 8.1 and older no longer receive official updates from the PHP project; for 7.4, 8.0 and 8.1 the security team only published fixes to the source code, not new releases. [3]

PHP 8.2 receives security updates from the PHP project only until 31 December 2026. [9]

According to the BSI, all known PHP versions back to at least PHP 5 are affected. [10] [11]

The BSI rates the criticality as “3 / Orange”: action must be taken without delay. [7]

Security firms have observed attack attempts. As of 22 October 2026, the BSI knew of no successful attacks on a broad scale. [4] [5] [10]

According to the BSI, various websites in Germany were harder to reach on 21 October 2026 because some operators had disconnected their servers from the internet as a precaution. In Hesse, too, public authorities took websites offline as a precaution. [7] [12]

Addendum of : On 23 October 2026 the PHP project published a further notice about the upload progress setting. It considers the affected setup unlikely and recommends the setting session.upload_progress.enabled=0 until the next regular update. The PHP project has announced the full advisory for it (CVE-2026-115560) for the next regular release. [13]

Addendum of : On 26 October 2026 the US cybersecurity agency CISA added both flaws to its catalogue of Known Exploited Vulnerabilities. Under CISA’s rules, attempted exploitation and successful attacks on decoy servers (honeypots) also count; the listing therefore does not show that real systems were taken over. [14] [15]

If your website is outside Germany

At EU level, CERT-EU published its advisory 2026-018 “Critical Vulnerabilities in PHP” on 20 October 2026 and last updated it on 23 October 2026. It advises organisations to patch immediately; where that is not feasible, they should consider isolating internet-facing applications from public networks until a fix is applied and verified. [23]

CERT-EU also notes that many products use PHP as a backend technology and could be at risk too, even if they do not directly expose a PHP installation. To identify third-party software that embeds PHP, it recommends consulting the GitHub repository of the Dutch National Cyber Security Centre (NCSC-NL). [23]

Wherever your website is hosted, the first question to your hosting provider is the same: has PHP on your server been updated or patched since 21 October 2026?

Check

Checking your PHP version: four steps

The first steps cost nothing and work whether or not you ever talk to Coday.

  1. Ask your hosting provider first

    Ask your hosting provider first whether PHP on your package has been updated. On shared hosting it is usually the provider who applies the update; IONOS, STRATO, Hetzner and netcup have reported that their web hosting packages are protected against these flaws (as of 22 October 2026). On a server of your own, such as a VPS or a root server, you or your administrator apply the update. [16] [17] [18] [19]

  2. Find out your PHP version

    In WordPress, Site Health under Tools shows the PHP version; at your hosting provider, the customer area shows it in the settings of your package. The free instant check shows whether your home page reveals the version publicly; many sites reveal none.

    Check your PHP version in the free instant check
  3. Compare it with the table

    The table below shows, for each PHP branch, until when the PHP project provides security updates and which version fixes the flaws named above. If your branch no longer receives security updates, it is time to move to a newer version.

  4. Plan a PHP update, not just a WordPress update

    A WordPress update does not close these flaws; they are in PHP itself. If your hosting provider has not updated PHP yet or your branch no longer receives updates, the site needs a PHP update: a backup first, then a test whether the theme and plugins run on the new version. [10] [8] [4]

Versions

Which PHP versions still receive security updates

The table shows, for each PHP branch, such as PHP 8.2 with all versions 8.2.x, until when the PHP project provides security updates, as stated on php.net. [20] [21]

PHP branchSecurity updates untilAt least this versionStatus on 16 November 2026
PHP 8.5Security updates untilAt least this versionPHP 8.5.12Status on 16 November 2026receives security updates
PHP 8.4Security updates untilAt least this versionPHP 8.4.27Status on 16 November 2026receives security updates
PHP 8.3Security updates untilAt least this versionPHP 8.3.36Status on 16 November 2026receives security updates
PHP 8.2Security updates untilAt least this versionPHP 8.2.35Status on 16 November 2026security updates only until 31 December 2026
PHP 8.1Security updates untilAt least this versionno new release from the PHP projectStatus on 16 November 2026no security updates any more
PHP 8.0Security updates untilAt least this versionno new release from the PHP projectStatus on 16 November 2026no security updates any more
PHP 7.4Security updates untilAt least this versionno new release from the PHP projectStatus on 16 November 2026no security updates any more

Table as of [20] [21]

“At least this version” is the lowest version of the branch that fixes the flaws with the identifiers listed above. What applies to an addendum is stated in the addendum itself.

The flaws are also fixed in packages into which a Linux distribution or a long-term support vendor has applied the fixes, and some hosting providers apply fixes without changing the number. Only your hosting provider can tell whether your package is one of them. [3]

What the end of PHP 8.2 support means for WordPress sites and what hosting providers charge afterwards is explained in the guide.

Technical background

What is behind the PHP security flaw

Both flaws are errors in how PHP handles the memory of a request internally: PHP may keep working with data that is not yet fully set up or has already been freed. [3]

How the two flaws work

The first flaw (CVE-2026-109618) lies in how PHP handles running out of memory. If a request runs out of memory, PHP can stop in the middle of its work while internal request data is only partly set up; the cleanup that follows may then treat this unfinished data as valid. [3]

The second (CVE-2026-109619) comes from stale state: internal data of a request can survive after its memory has been freed. If the same PHP process then handles another request, it may use these leftovers before it sets itself up fresh for the new request. [3]

Which servers are most at risk

According to the PHP project, every PHP installation that serves web requests is at risk, whatever the setup: PHP as a module inside the Apache web server (mod_php), as a separate service behind the web server (PHP-FPM), through the CGI interface (php-cgi), and under FrankenPHP and LiteSpeed. [3]

The PHP project considers the risk highest for mod_php: there, a demonstrated exploit shows that a request without any login can trigger the flaw before the website’s own code even runs. [3]

What helps until the update, and where the limit is

My advice first: if your website sits in a shared hosting package, do not change the settings below yourself.

The PHP project’s interim measures reduce exposure to specific attack paths, but according to the PHP project they do not make an installation safe; only the update is a complete fix. The advisory lists these measures: [3]

For server admins: the interim measures from the PHP project’s advisory
Measure according to the PHP projectSettingAgainst the flaw
Remove PHP’s memory limit, preferably in a way applications cannot override, and check that no pool, directory or application setting puts a limit back. An underlying memory shortage of the system can still reach the faulty path. [3]Settingmemory_limit=-1, for example via php_admin_value in the FPM pool or the Apache configurationAgainst the flawCVE-2026-109618
Limit memory from the outside to protect availability, preferably so that only the single PHP process is stopped. [3]Settingcontainer or cgroup limit; not RLIMIT_AS or RLIMIT_DATA, which can cause the faulty memory failure themselvesAgainst the flawCVE-2026-109618
Keep the allowed size of form submissions small. [3]Settingpost_max_size = 8M without file uploads, 32M with uploads; upload_max_filesize below thatAgainst the flawCVE-2026-109618
Consider setting limits at the web server or proxy for the decoded request size, the number of input fields, multipart parts and headers, and the nesting depth, including requests without a usable length header. [3]Settingweb server or proxy configuration, also without Content-LengthAgainst the flawCVE-2026-109618
Switch off session upload progress and restart every PHP process. This blocks the confirmed session paths, not other variants. [3]Settingsession.upload_progress.enabled=0 in php.ini, the FPM pool or the server configuration; not via ini_set() or .user.iniAgainst the flawCVE-2026-109619
Switch off backtraces on fatal errors and restart every PHP process. This blocks only the confirmed path through these backtraces. [3]SettingPHP 8.5 only: fatal_error_backtraces=0Against the flawCVE-2026-109619
Remove invalid or deprecated per-request settings that emit messages before the request is set up, and fix fatal errors and timeouts that attackers can trigger. Merely hiding the messages does not help. [3]Settingno substitute: error_reporting, display_errors or @Against the flawCVE-2026-109619

My advice: on shared hosting, ask your hosting provider which of these settings it has applied. On your own server, they belong in the server configuration, not in the website’s code, and you still schedule the update straight away.

After the update

Is everything done once PHP is updated?

For the flaw, yes; for a break-in before it, no. Only the official update closes the flaw for good; whatever attackers placed on the server before stays there. [16] [17]

According to the network provider Cloudflare and the security firm watchTowr, on a server of your own the update includes restarting every PHP worker; until then, the old processes keep running the code without the fix. [4] [5]

Check whether someone already got in

On shared hosting, ask your hosting provider whether it sees anything unusual on your package. On a server of your own, you or your administrator look at the logs.

Cloudflare names what to look for there: crashes of PHP workers and messages that memory ran out (“Allowed memory size exhausted”) in the PHP-FPM or Apache error logs, especially clustered around unusually large form submissions. [4]

Other signs are recently changed or unknown files in the website’s directory, such as planted backdoors (web shells), new scheduled tasks (cron jobs), and unexpected processes or outbound connections running as the PHP user. [4]

Cloudflare advises not deleting any evidence you find. [4]

If your hosting provider reports malicious code or your website looks changed, report an emergency.

Protection until PHP is updated

Even before the updates, IONOS and STRATO switched on firewall rules and adjusted PHP settings on their platforms that block suspicious requests. [16] [17]

Be careful with emails about the flaw

IONOS and STRATO warn about phishing: fraudsters send fake emails that refer to the PHP flaw in order to get login details. Both advise not to click links in such emails and not to enter any login details. [16] [17]

I recommend opening the customer area of your hosting provider through the address you type in yourself or have saved.

PHP update, maintenance and emergency line

What Coday offers

Coday is a one-person business in Wetzlar. I bring existing WordPress and PHP sites onto a supported PHP version, keep them up to date through maintenance, help through the emergency line and, if you want, rebuild without PHP.

PHP update at a fixed price

I check which PHP version your site runs on and whether the theme and plugins work with a newer one, coordinate the update with your hosting provider and test it on a copy of the site first. I name the fixed price and the start date after the check, before I start.

Price on request

The offer is for businesses, associations and the self-employed.

Request a PHP update

Emergency line

Emergency line: reachable around the clock, including nights and weekends

I work on my own. If I do not pick up, send me the address of your website and what happened through the emergency form on codayweb.de; I get back to you as soon as I see the message. I do not promise a fixed time for my reply.

If your website is down, broken after an update or hacked, I help through the emergency line, from saving the infected state to restoring a clean backup.

It covers:

  • save a copy of the infected state before I change anything
  • put the website behind a maintenance page
  • secure the accounts and have the passwords changed
  • remove malicious code
  • apply the PHP update or have the hosting provider switch it
  • restore a clean backup
  • talk to your hosting provider

I only work with your instruction and with access you give me. I look for the way in as far as logs and files show it; forensics that will stand up in court is a job for a specialist. On the reporting duty, a lawyer or your data protection officer advises you.

I tell you what the job costs before I start.

Price on request

The offer is for businesses, associations and the self-employed.

Report an emergency

WordPress maintenance and takeover

Updates for WordPress, plugins and the theme, the PHP version at your hosting provider on a supported release, a backup before every update and monitoring of whether the site is reachable. Also for sites another agency built; your hosting stays with your hosting provider.

Monthly price after a free check, price on request

The offer is for businesses, associations and the self-employed.

More on WordPress maintenance

Rebuild without PHP

A site without PHP code, hosted with a provider that runs no PHP, does not execute the code of these flaws. I remove old PHP installations in the same hosting package during the move. That does not make a website unhackable, because nothing does: Next.js needs updates too: on 3 December 2025 the React team disclosed a critical flaw in React Server Components (CVE-2025-55182) that also hit Next.js. [22]

The new site is built with Next.js or with plain HTML, CSS and JavaScript without a framework.

Price on request: the fixed price is in the quote before the work starts.

The offer is for businesses, associations and the self-employed.

More on the website relaunch

Emergency

Report an emergency

Send me the address of your website and what happened, by phone, WhatsApp or through the form.

Emergency line: reachable around the clock, including nights and weekends

I work on my own. If I do not pick up, send me the address of your website and what happened through the emergency form on codayweb.de; I get back to you as soon as I see the message. I do not promise a fixed time for my reply.

I tell you what the job costs before I start.

The offer is for businesses, associations and the self-employed.

The first steps after a hack that you can take yourself are on the page about a hacked website.

Not an emergency? Book a free first call (about 15 minutes).

Personal reply from the owner

Emergency form

Name, phone or e-mail, and in the message the address of your website and what happened. The offer is for businesses, associations and the self-employed.

By sending you agree that I use your details to handle your request. Privacy

Frequently asked questions about PHP security

What is PHP, and what does it have to do with my website?

PHP is a programming language that runs on the web server. WordPress is written in PHP and only runs if the server provides PHP; the same goes for other systems such as TYPO3, Drupal or Joomla. That is why the security of such a site also depends on the PHP version on the server, not only on WordPress itself.

Is it enough to update WordPress and the plugins?

No, not for flaws in PHP itself. The flaws for which the PHP project released emergency updates on 21 October 2026 are in PHP, not in WordPress, its plugins or the theme. According to the BSI, updating the application is therefore not enough; the PHP version on the server has to be updated. On shared hosting, the hosting provider usually does that.

How do I find out which PHP version my website runs on?

In WordPress, Site Health under Tools shows the PHP version; at your hosting provider, the customer area shows it in the settings of your package. The free instant check by Coday reads whether your home page reveals the version publicly. Many sites reveal none, and a visible number is not a finding yet: some hosting providers apply fixes without changing the number.

What happens to PHP 8.2 after 31 December 2026?

The PHP project provides security updates for PHP 8.2 until 31 December 2026 and none after that. Some hosting providers offer extended support for older versions at an extra charge, others switch to a newer version. Ask your hosting provider what it plans for your package, and plan the update so that the theme and plugins are tested on a copy first.

What does a PHP update cost at Coday?

That depends on how many plugins and customizations the site has and whether the theme and plugins work with the new PHP version. That is why I check the site first, free of charge. I name the fixed price and the start date after the check, before I start.

Is the emergency line reachable at night and on weekends too?

Yes, phone and WhatsApp stay switched on at night and on weekends too. I work on my own. If I do not pick up, send me the address of your website and what happened through the emergency form on codayweb.de; I get back to you as soon as I see the message. I do not promise a fixed time for my reply. I tell you what the job costs before I start.

Does the emergency line also help if my website has already been hacked?

Yes. It covers: save a copy of the infected state before I change anything; put the website behind a maintenance page; secure the accounts and have the passwords changed; remove malicious code; apply the PHP update or have the hosting provider switch it; restore a clean backup; talk to your hosting provider. I only work with your instruction and with access you give me. I look for the way in as far as logs and files show it; forensics that will stand up in court is a job for a specialist. On the reporting duty, a lawyer or your data protection officer advises you.

Do I have to move to a website without PHP now?

No. For most sites the PHP update is the right first step, and with regular maintenance a WordPress site stays up to date. A rebuild with Next.js or with plain HTML, CSS and JavaScript is worth it if the site is due for renewal anyway or if the theme and plugins do not work with a current PHP version. A site without PHP needs updates too.

Sources

Each source with the day it was retrieved.

  1. [1]The PHP project (GitHub): RCE via OOM corruption (GHSA-w8hw-w9fx-j79w, CVE-2026-109618) (opens in a new tab), published on , retrieved on
  2. [2]The PHP project (GitHub): RCE via stale global state (GHSA-6wmf-4rv5-p3rp, CVE-2026-109619) (opens in a new tab), published on , retrieved on
  3. [3]The PHP project: Security advisory: Critical remote code execution vulnerabilities, update now (opens in a new tab), published on , retrieved on
  4. [4]Cloudflare: Cloudflare deploys protections against php2shell vulnerability (opens in a new tab), published on , retrieved on
  5. [5]watchTowr: PHP2Shell FAQ: CVE-2026-109618 & CVE-2026-109619 Fixes (opens in a new tab), published on , retrieved on
  6. [6]The PHP project: Upcoming Critical PHP Security Release (opens in a new tab), published on , retrieved on
  7. [7]German Federal Office for Information Security (BSI): PHP: Kritische Schwachstellen bedrohen Webanwendungen weltweit (opens in a new tab), published on , retrieved on
  8. [8]WordPress Deutschland: Kritisches PHP-Sicherheitsupdate (opens in a new tab), published on , retrieved on
  9. [9]The PHP project: PHP 8.2.35 Released! (opens in a new tab), published on , retrieved on
  10. [10]German Federal Office for Information Security (BSI): Version 1.2: PHP - Kritische Schwachstellen bedrohen Webanwendungen weltweit (opens in a new tab), published on , retrieved on
  11. [11]German Federal Office for Information Security (BSI): PHP: BSI warnt vor kritischen Schwachstellen – Sicherheitsupdate noch heute notwendig (opens in a new tab), published on , retrieved on
  12. [12]hessenschau: PHP-Sicherheitslücke: Zahlreiche Behörden-Webseiten in Hessen abgeschaltet (opens in a new tab), published on , retrieved on
  13. [13]The PHP project: Informational advisory: Session upload progress (opens in a new tab), published on , retrieved on
  14. [14]Cybersecurity and Infrastructure Security Agency (CISA): Known Exploited Vulnerabilities Catalog (opens in a new tab), published on , retrieved on
  15. [15]Cybersecurity and Infrastructure Security Agency (CISA): Reducing the Significant Risk of Known Exploited Vulnerabilities (opens in a new tab), retrieved on
  16. [16]IONOS: PHP-Sicherheitslücke: Websites bei IONOS sind geschützt (opens in a new tab), published on , retrieved on
  17. [17]STRATO: PHP-Sicherheitslücken: Websites und Hosting bei STRATO sind geschützt (opens in a new tab), published on , retrieved on
  18. [18]Hetzner: PHP Sicherheitslücken CVE-2026-109618 und CVE-2026-109619 (opens in a new tab), published on , retrieved on
  19. [19]netcup: Wichtiger Sicherheitshinweis: Unsere Systeme sind vorübergehend nicht erreichbar (opens in a new tab), published on , retrieved on
  20. [20]The PHP project: Supported Versions (opens in a new tab), retrieved on
  21. [21]The PHP project: Unsupported Branches (opens in a new tab), retrieved on
  22. [22]The React team: Critical Security Vulnerability in React Server Components (opens in a new tab), published on , retrieved on
  23. [23]CERT-EU: Critical Vulnerabilities in PHP (Security Advisory 2026-018) (opens in a new tab), published on , retrieved on

Straight to the owner

Request a PHP update: fixed price after a free check

Tell me the address of your website. I check for free which PHP version it runs on and what an update needs, and then name the fixed price and the start date before I start. The offer is for businesses, associations and the self-employed.

  1. 01

    Send a quick request

    Name, phone or e-mail and the address of your website.

  2. 02

    Free check

    I look at the PHP version, the theme and the plugins and talk the way forward through with you.

  3. 03

    Fixed price before work starts

    I name the fixed price and the start date after the check, before I start.

  • Price on request, fixed before work starts
  • Free and non-binding check
  • Personally from the owner
Personal reply from the owner

Quick request

Your name and a phone number or e-mail are enough. I will get back to you in person.

By sending you agree that I use your details to handle your request. Privacy