PHP: CVE-2026-109618 and CVE-2026-109619 exploited, CVE-2026-115560 not yet fixed
php.net Live Checked 5 November 2026 php-cve-2026-109618
Summary
- On 21 October 2026, PHP released 8.5.12, 8.4.27, 8.3.36 and 8.2.35. They fix two critical bugs that can let an attacker run code on the server without signing in. Each scores 9.2 on CVSS 4.0.
- CVE-2026-109618: PHP runs out of memory while setting up a request, then its clean-up step uses half-built data.
- CVE-2026-109619: state left from one request stays in a worker and gets used by the next request.
- CISA added both bugs to its Known Exploited Vulnerabilities (KEV) catalog on 26 October 2026.
- On 23 October, PHP published a short advisory for a third bug, CVE-2026-115560. It needs an unusual session setup. PHP calls it an unlikely route to code execution. No fixed release exists yet.
Exposure
CVE-2026-109618 and CVE-2026-109619
- Affected: PHP before 8.2.35, 8.3 before 8.3.36, 8.4 before 8.4.27, and 8.5 before 8.5.12.
- PHP says every install that serves web requests is at risk: PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed.
- Risk is highest on mod_php. PHP confirmed unauthenticated code execution there, and the attack runs before your app code starts.
- For CVE-2026-109618, PHP has not shown a complete exploit against PHP-FPM. For CVE-2026-109619, PHP validated a session route to code execution on both mod_php and PHP-FPM.
- PHP's session upload progress feature is on by default, and the app does not need to call
session_start()for that route to work. - PHP 8.1 and older get no new releases. PHP published source patches for 7.4, 8.0 and 8.1. Wiz says branches back to 5.4 are affected, while the CVE records list only 8.2 to 8.5. The older range is disputed, and no source here says those versions are safe.
- Products that embed PHP are affected too. Citrix lists NetScaler ADC and Gateway as impacted.
CVE-2026-115560
- PHP says all three of these must be true:
session.serialize_handleris set tophp_binaryorphp_serializein configuration, the app switches it tophpwithini_set()beforesession_start(), and upload progress is on. - Apps that never change the handler can keep upload progress on, according to PHP.
- PHP gives no affected versions and no CVSS score yet. On 5 November 2026 we found no CVE.org record, no NVD entry and no KEV listing.
Exploitation
- CVE-2026-109618 and CVE-2026-109619: exploitation is established by CISA's KEV listing of 26 October 2026. The entry gives no attack details, and its ransomware field says unknown. CISA's due date for US federal agencies was 29 October, with forensic triage required.
- PHP's own advisories do not say whether attackers are using the bugs. CERT-EU said on 23 October that attackers may already be exploiting them and that proof-of-concept code was circulating. Wiz said on 21 October it had not seen attacks.
- CVE-2026-115560: no source we opened reports exploitation.
Actions
- Update PHP to 8.5.12, 8.4.27, 8.3.36 or 8.2.35. PHP says this is the only complete fix. Linux vendors received the patches early, so read your vendor's advisory and use the package it names.
- Check every PHP the server runs.
php -vshows the command-line version. PHP-FPM has its own binary, such asphp-fpm8.4 -v(use your version number). Then restart every worker. - Update products that bundle PHP. FrankenPHP 1.13.2 is built on the fixed PHP, and 1.13.4 is its latest release. NetScaler needs 14.1-73.49, 13.1-64.32, 14.1-73.49 FIPS or 13.1.37.286, or later.
- On PHP 8.1 or older, use your vendor's patched package or PHP's source patch, and plan a move to a supported branch. PHP 8.2 security support ends on 31 December 2026.
- Search your code for runtime changes to
session.serialize_handler. If the CVE-2026-115560 conditions fit, setsession.upload_progress.enabled=0inphp.ini, the FPM pool or the server config. Restart every worker.ini_set()and.user.inido not work for this. - Confirm the setting with
php -i | grep session.upload_progress.enabled, using the PHP your web server runs. If you set it in an FPM pool file, check that file too. - If you cannot update today, apply PHP's stopgaps. They reduce risk and do not make PHP safe.
- For CVE-2026-109619: set
session.upload_progress.enabled=0as above. This blocks the confirmed session routes, not other variants. On PHP 8.5, also setfatal_error_backtraces=0and restart. Remove invalid or deprecated per-request settings that emit diagnostics before startup. Fix fatal errors and timeouts an attacker can reach. - For CVE-2026-109618: set
memory_limit=-1, preferably withphp_admin_value, and check that nothing restores a finite limit. Setpost_max_size=8Mwith no uploads or32Mwith uploads, withupload_max_filesizebelow it. Lowermax_input_nesting_level, and block multipart at the front end if you do not use it. - At the web server or proxy, limit decoded size, field count, multipart parts, headers and nesting, including requests with no usable
Content-Length. - Use a container or cgroup memory limit as the outer boundary. Do not use
RLIMIT_ASorRLIMIT_DATA. - Hiding errors with
error_reporting,display_errorsor@does not help.
- For CVE-2026-109619: set
- If you can do none of this, follow CERT-EU's advice and isolate internet-facing PHP apps until you can update.
- Check for past compromise. Wiz suggests looking for unusual multipart requests followed by memory-limit errors or repeated 500s, large or malformed
PHPSESSIDcookies, and worker churn. PHP warns that clean logs do not prove a server is safe.
Sources
- PHP advisory, 21 October 2026: vendor advisory. Fixed versions, affected ways of running PHP, older branches, stopgaps.
- PHP advisory, 23 October 2026: vendor advisory. CVE-2026-115560 conditions and upload progress advice.
- oss-security post on CVE-2026-115560: mailing list. Same conditions, as sent by PHP.
- GHSA-w8hw-w9fx-j79w: vendor advisory. CVE-2026-109618 scope, score, proven targets, extra hardening.
- GHSA-6wmf-4rv5-p3rp: vendor advisory. CVE-2026-109619 routes, proven targets, logging warning.
- CVE-2026-109618 and CVE-2026-109619: CVE records. Affected versions and CISA's exploitation rating.
- CISA KEV feed, version 2026.11.04: CISA KEV. Listing dates, due date, forensic triage, and no listing for CVE-2026-115560.
- CERT-EU advisory 2026-018: government advisory. Possible exploitation on 23 October, embedded PHP, isolation advice.
- Wiz, PHP2Shell: research. Older branches, signs to look for, no attacks seen on 21 October.
- oss-security, 23 October 2026: mailing list. Dispute over the older version range.
- PHP supported versions: vendor page. End of support dates.
- PHP command-line options: vendor docs. Meaning of
-vand-i. - php-fpm manual page: vendor docs. Meaning of
-vand-ifor PHP-FPM. - FrankenPHP releases: vendor release notes. 1.13.2 built on fixed PHP, 1.13.4 latest.
- Citrix CTX697263: vendor advisory. NetScaler impact and fixed builds.
Replies 0
No replies yet.