Skip to content
eastbaycyber

Disclosure: this page contains affiliate links. East Bay Cyber may earn a commission if you buy through them, at no extra cost to you. That never changes how we rank products. Editorial policy.

CVE-2026-109618: Critical PHP Memory Corruption Enables RCE

CVSS · Critical
9.8
In CISA KEV
Yes
Published
Oct 27
Patch SLA & TriageVector: Local
Immediate (BOD 22-01 due 2026-10-29)

Active exploitation confirmed in CISA KEV.

Exposure:
Control:
CVE explainers 11 min read
Security Research Desk Source-checked
Auto-checked against the official CVE record · Human-reviewed after publishing · Updated 2026-10-27
⚠
CISA Known Exploited Vulnerability

Active exploitation confirmed in the wild. CISA added this to the KEV catalog on 2026-10-26. Federal agencies must patch by 2026-10-29.

Everything CISA added on 2026-10-26

▲ Escalation ViewOne CVE, briefed at three altitudes — skim the Brief, weigh the Impact, or work the Runbook. The way a SOC actually reads it.
CISOBrief · 30-second brief

TL;DR - CVE-2026-109618 is a critical PHP core memory-corruption vulnerability with a reported NVD CVSS score of 9.8. - PHP 8.2 through 8.5 are affected before their fixed releases; Apache mod_php is the highest-priority deployment. - CISA KEV confirms exploitation in the wild. Patch by October 29, 2026, and investigate exposed systems.

CVE-2026-109618 is a critical PHP vulnerability that can enable unauthenticated remote code execution through memory corruption. CISA added it to the Known Exploited Vulnerabilities catalog on October 26, 2026, and public proof-of-concept material has reportedly emerged. Organizations should patch exposed PHP systems immediately and investigate for signs of compromise.

For broader background on vulnerability response, see our CVE-2026-14534 security advisory and SharePoint ransomware and RCE flaw digest.

AnalystImpact · assess the risk

Are You Affected?

CVE-2026-109618 affects PHP request handling when an out-of-memory condition interrupts initialization and leaves invalid request state available to later cleanup or allocation logic. Successful exploitation can lead to arbitrary code execution under the privileges of the PHP or web-server process.

The affected branches and fixed versions identified in the Openwall disclosure are:

CVE ID CVSS score Attack vector Authentication required Patch available
CVE-2026-109618 9.8, NVD base score Network; unauthenticated HTTP exploitation demonstrated against Apache mod_php None reported for demonstrated attack path Yes, for PHP 8.2 through 8.5

The NVD response supplied the 9.8 score but did not provide a vector string in the retrieved record. The PHP security announcement identifies the issue as CVSS v4.0 9.2. These values are not directly interchangeable, so defenders should validate the current NVD and PHP advisory records before using a single vector in formal risk reporting.

Product or branch Affected versions Fixed version
PHP 8.2 Versions before 8.2.35 8.2.35
PHP 8.3 Versions before 8.3.36 8.3.36
PHP 8.4 Versions before 8.4.27 8.4.27
PHP 8.5 Versions before 8.5.12 8.5.12
PHP 7.4, 8.0, and 8.1 No upstream release fix identified in the retrieved sources Use a trusted vendor backport or migrate
PHP 7.3 and older, including PHP 5 Unsupported and not covered by a current upstream fix Migrate to a supported branch

Potentially affected deployment models include Apache with mod_php, PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed PHP deployments. The strongest demonstrated attack path is unauthenticated HTTP exploitation against Apache mod_php before normal application code executes. Source analysis indicated possible PHP-FPM susceptibility, but a complete FPM exploit was not demonstrated in the retrieved advisory material.

Analyst’s Take: Treat internet-facing Apache mod_php systems as the first patching queue because that is the deployment tied to the demonstrated unauthenticated attack path. PHP-FPM may also be susceptible, but the retrieved material does not establish a complete FPM exploit, so defenders should separate confirmed exposure from possible exposure while still inventorying both.

The Fix, If You’re in a Hurry

Upgrade each supported PHP branch to its corresponding fixed release or later:

  • PHP 8.2: 8.2.35 or later
  • PHP 8.3: 8.3.36 or later
  • PHP 8.4: 8.4.27 or later
  • PHP 8.5: 8.5.12 or later

CISA added CVE-2026-109618 to the Known Exploited Vulnerabilities catalog on October 26, 2026, with a remediation due date of October 29, 2026. Organizations subject to applicable CISA guidance should treat that date as an immediate operational deadline. All organizations should prioritize exposed systems regardless of formal applicability.

The exact upgrade command depends on the operating system and package source. First determine whether PHP is managed by the OS, a third-party repository, a hosting panel, a container image, or a manually compiled installation. For a source-built deployment, the operational target is the fixed release, for example:

php -v
./configure <your-existing-options>
make -j"$(nproc)"
sudo make install
sudo systemctl restart php-fpm 2>/dev/null || true
sudo systemctl reload apache2 2>/dev/null || true

Do not copy the placeholder configure line into production without preserving the existing build options. For package-managed systems, use the vendor-supported update workflow and verify the resulting binary:

php -v
php-fpm8.3 -v 2>/dev/null || true
systemctl status php*-fpm --no-pager

For PHP 7.4, 8.0, and 8.1, use a trusted distribution or long-term-support vendor package that explicitly contains a backport, or migrate to PHP 8.2 or later. PHP 7.3 and older have no current upstream fix identified in the retrieved sources and should be treated as unsupported software requiring migration.

If immediate patching is impossible, remove vulnerable services from external exposure, restrict access through network controls, isolate the host, and reduce PHP process privileges. These are temporary risk-reduction measures, not substitutes for upgrading. Disabling an individual application feature is not sufficient because the defect is in PHP core request handling.

How This Vulnerability Works

PHP uses longjmp() to handle out-of-memory errors by leaving the current execution context and aborting request processing. In the vulnerable path, the interrupted operation is not correctly accounted for, allowing request memory to remain uninitialized, incomplete, or otherwise invalid while subsequent allocation and shutdown logic continues.

During request cleanup, PHP can then read from or branch on this invalid state. Multiple out-of-memory triggering strategies can reportedly reach the condition. If an attacker can reliably cause the relevant allocation failure and control the resulting execution path, the invalid memory state may be converted into arbitrary code execution.

The issue is more serious than a conventional denial-of-service flaw. An attacker who reaches successful code execution can run commands with the privileges of the PHP or web-server process. The resulting impact depends on file permissions, operating-system confinement, application secrets, database access, and network connectivity from the compromised host.

Technical Notes

The affected condition is associated with this sequence:

  1. A request triggers an allocation failure.
  2. PHP uses longjmp() to abort the current execution context.
  3. Request state remains partially initialized or invalid.
  4. Later allocation or request-shutdown logic accesses that state.
  5. Memory corruption can produce attacker-controlled execution.

The retrieved material does not establish that every PHP deployment or every request path is exploitable in the same way. Architecture, runtime version, SAPI, memory limits, compiler behavior, and web-server integration may affect exploitability. Defenders should nevertheless treat internet-facing vulnerable versions as compromised-risk assets because unauthenticated RCE has been demonstrated for Apache mod_php.

Severity, Explained

The NVD reports a CVSS base score of 9.8, which places CVE-2026-109618 in the critical range. The score reflects the combination of network reachability, the absence of an authentication requirement for the demonstrated attack path, and the potential for complete compromise of confidentiality, integrity, and availability.

The retrieved NVD record did not include a vector string. The PHP security announcement describes the issue using CVSS v4.0 with a score of 9.2. Because the scoring systems and metric definitions differ, organizations should not merge the two values or infer an unverified vector. Use the current authoritative record when entering the vulnerability into a GRC, vulnerability-management, or asset-risk platform.

Regardless of the precise vector, the operational severity is elevated by four factors:

  • Unauthenticated remote access: HTTP exploitation was demonstrated against Apache mod_php without requiring application credentials.
  • High-impact outcome: Successful exploitation may provide arbitrary code execution.
  • Broad deployment footprint: PHP is used with multiple server APIs and web-server configurations.
  • Confirmed exploitation: CISA KEV inclusion establishes exploitation in the wild.

CVE-2026-109618 should be prioritized above non-exploited critical vulnerabilities on internet-facing systems. Internal systems also require urgent remediation because a compromised web application, VPN, reverse proxy, or adjacent host may provide an attacker with network access to PHP services.

Is It Being Exploited?

Yes. Exploitation is confirmed in the wild. CISA added CVE-2026-109618 to its Known Exploited Vulnerabilities catalog on October 26, 2026. The catalog entry carries an October 29, 2026 remediation deadline. KEV inclusion is the strongest publicly documented signal in the supplied research that defenders should assume active attacker interest.

The retrieved Openwall disclosure states that unauthenticated remote code execution was demonstrated over HTTP against Apache mod_php. Additional reporting describes exploitation attempts and public technical material associated with the PHP2Shell vulnerabilities. The available material does not establish that every public exploit works against every PHP version, architecture, SAPI, or configuration.

A public PoC exists or has been publicly reported. Public GitHub repositories and technical write-ups reportedly contain proof-of-concept material targeting PHP memory-safety flaws, including CVE-2026-109618. Some demonstrations may depend on specific deployment conditions or additional application weaknesses. That variability does not reduce the urgency: KEV status confirms real-world exploitation independently of whether a particular PoC succeeds in a local test.

Known ransomware use is unknown based on the supplied research. That should not be interpreted as evidence that ransomware operators are not interested in the flaw. Attackers may use compromised PHP hosts for web shells, credential theft, persistence, lateral movement, or later-stage ransomware activity without the vulnerability appearing in a ransomware-specific attribution record.

ResponderRunbook · act now

Detecting It in Your Environment

Start with asset and version inventory rather than relying only on a vulnerability scanner. Identify PHP binaries, PHP-FPM pools, Apache modules, CGI handlers, containers, hosting-panel runtimes, and embedded or bundled PHP installations. A host may expose one version through the command line and serve another version through Apache or FPM.

php -v
php --ini
apachectl -M 2>/dev/null | grep -Ei 'php|proxy_fcgi'
ps auxww | grep -E '[p]hp(-fpm|-cgi)?'
find /var/www /srv/www -type f \( -name 'php' -o -name 'php-fpm*' \) -ls 2>/dev/null

The final grep expression should be adjusted for local naming conventions; package-managed FPM binaries may have versioned names such as php-fpm8.3. Container and orchestration environments require image-level inspection as well as host inspection.

Technical Notes

There is no universal HTTP signature that reliably distinguishes exploitation from ordinary PHP traffic. The vulnerable condition involves memory allocation and request-state handling, so defenders should correlate web requests with PHP crashes, worker restarts, abnormal child processes, and post-exploitation changes.

A practical starting point is to search web, PHP-FPM, and system logs for requests followed closely by process failures or suspicious execution:

sudo zgrep -hEi \
  '500|502|503|segmentation fault|SIGSEGV|out of memory|memory exhausted|child.*(exited|died)|php-fpm' \
  /var/log/apache2/* /var/log/httpd/* /var/log/php* 2>/dev/null

On systems using journald:

sudo journalctl --since "2026-10-01" \
  -u apache2 -u httpd -u php-fpm -u php8.3-fpm \
  --no-pager | grep -Ei \
  'segfault|SIGSEGV|out of memory|memory exhausted|child.*(exited|died)|core dumped'

Search for suspicious follow-on behavior from PHP or web-server processes. The following examples are intentionally broad and should be tuned to the environment:

sudo ausearch -m EXECVE --success yes \
  | grep -Ei 'php|apache|httpd|php-fpm|/tmp/|/dev/shm/|curl|wget|nc|bash|sh'

In an endpoint or SIEM platform, investigate process trees where apache2, httpd, php-fpm, php-cgi, or a web application worker spawns shells, download tools, interpreters, or unexpected administrative utilities. Also hunt for:

  • New or modified PHP files in web roots
  • Web shells and obfuscated eval, assert, or dynamic execution patterns
  • New administrator accounts or SSH keys
  • Unexpected outbound connections from web servers
  • Changes to virtual-host configuration, cron jobs, systemd units, or startup scripts
  • Access to application configuration files containing database or cloud credentials

A representative SIEM query pattern is:

(process.parent.name IN ("apache2","httpd","php-fpm","php-cgi")
 AND process.name IN ("sh","bash","dash","curl","wget","nc","python","perl","php"))
 OR
(file.path endswith ".php" AND file.modified_time > incident_start_time)

This is a hunting template, not a universal query syntax. Adapt field names and process labels to the deployed EDR or SIEM. If evidence of exploitation exists, preserve volatile and disk evidence before rebuilding the host, rotate application and infrastructure secrets, and assess lateral movement.

Hardening and Follow-Up Actions

After patching, verify that:

  • Internet-facing PHP versions match the fixed branch releases.
  • Apache and PHP-FPM are running the expected binaries.
  • Container images and hosting-panel runtimes have been rebuilt or updated.
  • Web-server and PHP processes run with least privilege.
  • Egress from web servers is restricted where operationally possible.
  • Application, database, cloud, SSH, and API credentials have been rotated if compromise is suspected.
  • Monitoring alerts on web-server child processes spawning shells or download utilities.

Organizations that manage many PHP assets should record the runtime version, SAPI, web-server integration, exposure, patch status, and evidence of exploitation for each host. Prioritize confirmed internet exposure and systems processing sensitive data.

For additional account-security guidance, review how to secure Microsoft 365 for your business. If your organization permits remote work from unmanaged networks, a business VPN service such as Check NordVPN pricing → may provide an additional encrypted access layer, but it does not replace PHP patching or network segmentation.

References and Further Reading

The primary references for this vulnerability are the NVD record, the CISA KEV catalog, the PHP security advisory, and the Openwall disclosure. Confirm current version guidance and scoring directly with these sources because vulnerability records and vendor package status can change.

Patch internet-facing PHP 8.2 through 8.5 systems first, then address older branches with supported backports or migration. Because exploitation is confirmed and public PoC material exists, pair remediation with targeted compromise assessment instead of treating this as a routine patch-only event.

This article may contain affiliate links. We earn a commission on qualifying purchases at no extra cost to you.

Choosing a tool? Pricing and head-to-head guides

Last verified: 2026-10-27

Disclaimer: This article may contain affiliate links. We earn a commission on qualifying purchases at no extra cost to you.