T

Threats

PHP Critical Remote Code Execution Vulnerabilities

Update: 23 October 2026 (6:45am AEST)

Item

Detail

Original advisory issued

Thursday 22 October 2026

Update issued

Friday 23 October 2026, 6:45am AEST

Version

1.1, rolling update log

Audience

IT and security leadership, and any organisation running PHP web applications

Vendor affected

PHP (all web-serving installations, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed)

CVEs

CVE-2026-109618 and CVE-2026-109619 (CVSS v4.0 9.2 each)

Fixed versions

PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35

Status

Exploitation attempts reported at scale by multiple security vendors and cloud providers. Public exploit code is available. Successful compromise has not been broadly confirmed. Patching is the only complete remedy.

Exploitation is under way. Patch first, then hunt.

Since the original advisory, more security vendors and cloud providers have reported exploitation attempts against both vulnerabilities. Some activity predates the patch release. Organisations that have not patched should treat internet-facing PHP as exposed and review logs back to 17 October.

1. What is new

  • Exploitation attempts are now widely reported. Multiple security vendors and cloud providers reported attempts at scale on 21 October. One vendor reported that most activity used PHP's session upload progress path.

  • Activity predates the patch. The earliest known attempt dates to 17 October, four days before public disclosure. Reporting points to several actors using different payloads and infrastructure.

  • Public exploit code is circulating. Its effectiveness varies, and some versions rely on techniques that were later invalidated.

  • Government statements lag vendor reporting. Early statements from some agencies that they were not aware of exploitation predate the vendor reports above.

  • Most exposed PHP cannot be fixed upstream. Internet scans suggest most exposed PHP runs on end-of-life branches with no official fix. Version-string scans also undercount exposure, so confirm the running build with your hosting or distribution provider.

  • No newer PHP releases. We have not identified any release newer than 8.5.12, 8.4.27, 8.3.36 and 8.2.35.

2. What this does not establish

  • Successful compromises are not broadly confirmed. Counts of compromised hosts are not public, and the scale of successful exploitation is unclear.

  • Agency alerts and known-exploited catalogue listings can lag vendor reporting. A missing listing is not evidence that a system is safe.

  • The reported IP ranges are a partial and changing picture. Attacker infrastructure changes quickly, and some of it uses shared anonymisation services. Some ranges in the list are corroborated by independent honeypot observations, but the list may be incomplete.

  • Interim measures do not make an unpatched installation safe. Disabling session upload progress, for example, blocks the confirmed session paths but not every variant.

  • A lack of warnings or failures in logs is not proof of safety, because relevant errors may not always be logged.

3. What this changes for organisations

The patching priority is unchanged and the time pressure is higher. The actions below add to the original advisory, which remains in force.

  • Review from 17 October. Start log review from at least 17 October, not the disclosure date.

  • Hunt for post-exploitation behaviour. See the detection guidance under "Monitor for suspicious activity" below.

  • Check legacy and provider-managed builds. Fixes for end-of-life branches may keep the same version number. Check the build date or the provider's advisory.

  • Treat WAF and CDN rules as temporary. Some providers have deployed default rules, but attackers are reportedly adjusting payloads to evade them.

  • Check the reported IP ranges against your logs. Investigate before blocking where an address may be shared infrastructure.

4. Posture

We expect exploitation to continue while unpatched and end-of-life installations remain exposed. We will continue to update this advisory as new indicators, releases or confirmed compromises are reported.

5. Where to watch

Original advisory: 22 October 2026

Urgent Customer Action: Block or Investigate Reported IP Ranges

The following IP ranges have been reported as observed indicators of compromise (IOCs) in activity related to this advisory. Customers should block or investigate connections from these ranges in line with their organisation's controls, and review logs for prior connections.

  • 45.153.34.0/24

  • 45.156.87.0/24

  • 85.11.167.0/24

  • 87.121.84.0/24

  • 91.92.40.0/24

  • 91.92.42.0/24

  • 91.92.47.0/24

  • 93.152.221.0/24

  • 94.26.106.0/24

  • 176.65.132.0/24

  • 185.245.62.0/24

  • 185.245.63.0/24

  • 192.109.200.0/24

  • 94.154.43.219

  • 213.152.161.54

  • 135.136.51.37

  • 185.14.29.28

This threat is ongoing and dynamic. These indicators may change or be incomplete. Please check this advisory regularly, as additional IOCs may be added.

Some of these ranges are corroborated by independent honeypot observations. Some attacker infrastructure uses shared anonymisation services, so investigate prior connections before blocking.

Blocking these ranges is an additional precaution, not a substitute for applying the PHP security updates.

Overview

  • Vendor: PHP.

  • Overall severity: Critical, vendor-published CVSS v4.0 score 9.2 for each vulnerability.

  • Advisory date: 22 October 2026.

  • Last updated: 23 October 2026 (see the status update above).

  • Vendor publication: Security updates and technical advisories published on 21 October 2026, following advance notice on 20 October 2026.

  • CVEs: CVE-2026-109618 and CVE-2026-109619.

PHP has released fixes for two critical memory-safety vulnerabilities that can allow attackers to execute code remotely without authentication. The flaws involve out-of-memory handling and request-owned state that remains accessible after its memory has been freed.

The PHP Project identifies all PHP installations serving web requests as at risk, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed. It considers the risk highest for Apache mod_php, where a demonstrated attack can run before application code begins. Exploitability varies by vulnerability, server interface, configuration and application behaviour. See the PHP security announcement.

Exploitation status: Exploitation attempts are occurring at scale. Multiple security vendors and cloud providers have reported attack activity, public exploit code is available, and some attempts predate the patch release. Successful compromises have not been broadly confirmed, but unpatched systems should be treated as exposed and reviewed from 17 October. Prioritise remediation based on the vendor's confirmed remote code execution impact.

Scoring note: This advisory follows PHP's official CVSS v4.0 9.2 rating for both vulnerabilities. Earlier third-party claims of a 10.0 score do not replace the vendor-published rating.

Affected Versions

The following supported-branch ranges apply to both CVEs. Use distribution or hosting-provider security guidance where fixes are backported rather than relying on the upstream version number alone.

PHP 8.5

  • Affected: Releases before 8.5.12 in the 8.5 branch.

  • Fixed: 8.5.12.

PHP 8.4

  • Affected: Releases before 8.4.27 in the 8.4 branch.

  • Fixed: 8.4.27.

PHP 8.3

  • Affected: Releases before 8.3.36 in the 8.3 branch.

  • Fixed: 8.3.36.

PHP 8.2

  • Affected: Releases before 8.2.35 in the 8.2 branch.

  • Fixed: 8.2.35.

  • Lifecycle note: PHP 8.2 reaches end of life on 31 December 2026. Plan migration to a supported branch alongside immediate remediation.

Sources: PHP's out-of-memory corruption advisory, stale global state advisory and security release announcement.

PHP 8.1 and older

PHP 8.1 and older no longer receive updates from the PHP Project. The vulnerable code is reported to date back to PHP 5.4, so all versions from 5.4 through the unpatched releases of each supported branch are affected.

PHP has provided minimal source-backports for PHP 7.4, 8.0 and 8.1 for organisations building from source or without an LTS vendor. Source branches: PHP-7.4-CVE-2026-109618-109619, PHP-8.0-CVE-2026-109618-109619 and PHP-8.1-CVE-2026-109618-109619 in the php-src repository. Some Linux distributions and LTS providers supply backported fixes. Confirm coverage for both CVEs with the relevant provider, or migrate to a supported, patched release. Do not assume that an end-of-life installation is protected by ordinary upstream updates.

Hosting and LTS providers that fix end-of-life branches may not change the version number. Check the build date or the provider's advisory. Version-string scans can miss exposed PHP, so confirm the running build with the hosting or distribution provider.

PHP 8.6 prerelease builds

PHP states that 8.6.0 RC4 contains both fixes and recommends updating earlier 8.6 test builds. This is a release candidate for testing, not a recommended production upgrade path.

Vulnerability Breakdown

CVE-2026-109618 - Remote code execution via out-of-memory corruption

  • Severity: Critical.

  • Vendor-published CVSS v4.0: 9.2.

  • Description: An out-of-memory error can interrupt PHP while internal request memory is only partially initialised. Request shutdown may then process that invalid state, enabling memory corruption and remote code execution.

  • Impact: Unauthenticated remote code execution with the web worker account's privileges.

  • Conditions: Attacker-controlled requests must reach a vulnerable allocation and cleanup path. PHP confirms complete remote code execution over HTTP against mod_php with default input and memory limits. The demonstrated request-startup path can occur before application code runs.

  • Notes: PHP's source analysis also identifies exposure in other server interfaces, with differing validation and application prerequisites. Its advisory does not demonstrate a complete PHP-FPM exploit for this specific CVE; that limitation does not establish that FPM is unaffected.

CVE-2026-109619 - Remote code execution via stale global state

  • Severity: Critical.

  • Vendor-published CVSS v4.0: 9.2.

  • Description: A PHP worker can retain references to state owned by an earlier request after that request's memory has been freed. A subsequent request handled by the same worker may access the stale state before normal initialisation resets it, causing a use-after-free.

  • Impact: Unauthenticated memory disclosure and remote code execution with the web worker's privileges.

  • Conditions: Exploitation requires an operation that leaves request-owned state behind and a later operation that consumes it on the same worker. Fatal errors, certain diagnostics and session upload progress can contribute to these paths.

  • Notes: PHP confirms a fatal-error-backtrace RCE path in mod_php and session lifecycle RCE in mod_php and PHP-FPM. Session upload progress is enabled by default and does not require an application call to session_start(). Other variants depend on application, extension and configuration behaviour.

Mitigation

Apply security updates immediately

  • Upgrade supported PHP branches to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, as applicable, or a later release containing both fixes. Obtain packages from the PHP downloads page or the relevant distribution or hosting provider.

  • Confirm provider backports. Linux distributions and LTS vendors received patches in advance. Check their security notices and package status rather than assuming an older-looking version string means a fix is absent.

  • Address legacy installations. Confirm a supported provider remediation path or migrate from end-of-life PHP. Minimal source-backports do not restore normal upstream support.

  • Verify deployment. Ensure the patched runtime is active across web-serving workers, containers and hosting environments, not only the command-line installation. Restart affected services as required by the deployment method.

The PHP Project states that updating is the only complete solution. Apply fixes for both vulnerabilities; addressing one does not resolve the other.

If immediate patching is not possible

The following vendor-documented measures reduce specific attack paths but do not make an unpatched installation safe. Review application and availability effects before applying them.

For CVE-2026-109618:

  • Administratively enforce memory_limit=-1 so applications cannot restore a finite limit. PHP warns that underlying allocation failures can still reach the vulnerable path. Removing PHP's per-request memory limit also requires careful availability controls.

  • Keep post_max_size conservative: PHP suggests 8M where file uploads are unnecessary and 32M where they are required, with upload_max_filesize below that limit.

  • Enforce decoded request-size and input-complexity limits at the web server or proxy, including requests without a usable Content-Length.

  • If using container or cgroup memory boundaries, consider worker-level termination to reduce wider service disruption. Do not substitute RLIMIT_AS or RLIMIT_DATA, which can trigger the vulnerable allocation-failure path.

For CVE-2026-109619:

  • Set session.upload_progress.enabled=0 in configuration applied before request parsing and restart every worker. Do not rely on ini_set() or FPM .user.ini. This blocks confirmed session paths, not every variant.

  • On PHP 8.5, set fatal_error_backtraces=0 and restart every worker. This blocks the confirmed fatal-backtrace path only.

  • Remove invalid or deprecated per-request settings that emit diagnostics before initialisation. Suppressing messages with error_reporting, display_errors or @ does not prevent the vulnerable state access.

  • Resolve attacker-reachable fatal errors and execution timeouts in application, extension and cleanup paths.

Some WAF and CDN providers have deployed default rules for both vulnerabilities. Attackers are reportedly adjusting payloads to evade them, so treat these as temporary cover only.

Use the PHP security announcement and both technical advisories for implementation details. WAF rules and configuration changes remain temporary risk-reduction measures, not substitutes for updating.

Monitor for suspicious activity

ASD's ACSC recommends monitoring PHP applications and related systems for malicious activity. Review web server, PHP-FPM, proxy and service logs for unusual requests, worker failures and unexpected activity, starting from at least 17 October. PHP notes that relevant errors may not always be logged; an absence of warnings or failures is not proof of safety.

Hunt for web server or PHP worker processes spawning shells or download tools (sh, bash, curl, wget), new .php files in web-accessible directories, unusually large or malformed PHPSESSID cookies, and multipart POST requests followed by memory-limit errors or repeated HTTP 500 responses. Attacker user agents and IP addresses change quickly, so treat behaviour as the more reliable signal.

Summary for IT Teams

  • Products: PHP web-serving installations, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. Exposure depends on server interface and configuration; mod_php has the highest vendor-identified risk.

  • Threat level: Critical. Both CVEs have a vendor-published CVSS v4.0 score of 9.2 and can allow unauthenticated remote code execution.

  • Action required: Identify PHP across the environment, prioritise exposed web services, apply fixes for both CVEs, verify the active web runtime, and confirm remediation for legacy or provider-managed installations. Review logs from 17 October. Treat interim controls as incomplete and continue monitoring for suspicious activity.

Reference

Official vendor sources

Government sources

The ACSC alert retains pre-release wording in places, including its statement on exploitation, which predates later reporting. This advisory uses PHP's released technical advisories and fixed-version guidance for remediation, rather than treating patches as still pending.

Need Help?

If your organisation needs assistance assessing exposure, planning remediation or investigating potential compromise, contact the Secure ISS SOC team on 1300 769 460 or email soc@secure-iss.com.

Cta Image

Australia is secure when
Australian talent defends it.

Reach out today to discuss how with Lumara, we can work together to protect your business from the always changing Australian threat landscape.

Cta Image

Australia is secure when
Australian talent defends it.

Reach out today to discuss how with Lumara, we can work together to protect your business from the always changing Australian threat landscape.

Cta Image

Australia is secure when
Australian talent defends it.

Reach out today to discuss how with Lumara, we can work together to protect your business from the always changing Australian threat landscape.