CVE-2026-114509 lets an attacker with no token log in as an existing user on apps using TokenGuard with MySQL or MariaDB. Upgrade to 13.29.0 or 12.68.0; a proof of concept is public.
PHP fixes two critical remote code execution flaws, update now
EditorialBy TrustList Editorial
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 close CVE-2026-109618 and CVE-2026-109619. Every PHP install serving web requests is at risk, mod_php most of all, and PHP 8.1 and older get no official fix.
- Cybersecurity
- Web Security
- Patch Management
- Vulnerability Management
- +3 more
About PHP fixes two critical remote code execution flaws, update now
PHP fixes two critical remote code execution flaws, update now
21 October 2026: The PHP project has released PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to fix CVE-2026-109618 and CVE-2026-109619, two critical flaws that can let an attacker who is not logged in run code on a server. Every PHP installation that serves web requests is at risk, PHP has demonstrated an attack against mod_php that fires before any application code runs, and it tells all users to update immediately.
Fixed versions
- PHP 8.5: 8.5.12
- PHP 8.4: 8.4.27
- PHP 8.3: 8.3.36
- PHP 8.2: 8.2.35
PHP 8.1 and older no longer get releases from the project. Given the severity, its security team has published minimal source backports for PHP 7.4, 8.0 and 8.1 for people who build from source, and some Linux distributions and long-term support vendors carry their own fixes.
Two ways into the same worker
CVE-2026-109618 turns on out-of-memory handling: running out of memory can interrupt PHP while internal request data is only partly set up, and cleanup then treats that half-built data as valid. CVE-2026-109619 is about state that outlives its request: data owned by one request can survive after its memory has been freed, and a later request handled by the same worker can use it before normal set-up resets it. Both are tracked as GitHub security advisories (GHSA-w8hw-w9fx-j79w and GHSA-6wmf-4rv5-p3rp) with the full technical detail.
PHP lists PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed as exposed. It had announced the release a day early, scoring both flaws 9.2 under CVSS 4.0 and reserving the right to ship sooner if details leaked, and it published on 21 October shortly before the 14:00 UTC slot it had set. The UK's NCSC told organisations that cannot patch to consider taking affected systems offline.
Where the packages come from
Linux distributions and LTS vendors received the patches in advance, so their updated packages are the first place to look on a managed server. PHP singles out one popular source: anyone relying on the volunteer-run rpms.remirepo.net repository is urged to move to distribution packages or build from source, because that repository will not have updates on release day. Shared and managed hosting customers depend on their provider, and the useful question to ask is which of the four versions their account now runs; we list 200 firms in our web hosting category.
Stopgaps PHP itself calls incomplete
Only the update fixes both flaws, and PHP says its interim settings reduce exposure without making a server safe:
- for CVE-2026-109618, set
memory_limit=-1where applications cannot override it, keeppost_max_sizelow (8M without uploads, 32M with them), enforce request size and field limits at the web server or proxy, and rely on container or cgroup limits rather thanRLIMIT_ASorRLIMIT_DATA, which can trigger the flaw - for CVE-2026-109619, set
session.upload_progress.enabled=0in php.ini or the pool configuration (notini_set()or.user.ini) and restart every worker; on PHP 8.5, also setfatal_error_backtraces=0
PHP adds that hiding errors with display_errors or @ does not help, and that attacker-reachable fatal errors and timeouts in uploads, imports and callbacks are part of the second flaw's path.
Update, 23 October 2026: Amazon Threat Intelligence says its MadPot honeypots recorded a first attempt to exploit these flaws on 17 October, four days before the fixes were published, from an address tied to a commercial anonymisation network, and that more attempts from other infrastructure followed on 21 October before the 14:00 UTC disclosure. Amazon advises starting any investigation from at least 17 October rather than from the disclosure date, looking for POST requests carrying PHP_SESSION_UPLOAD_PROGRESS in form uploads, and, where a server cannot be patched at once, considering blocking multipart file uploads after testing the effect. It says upgrading is the only complete fix for both CVEs.
Sources
- PHP: Security advisory: Critical remote code execution vulnerabilities, update now, 21 October 2026
- PHP: Upcoming Critical PHP Security Release, 20 October 2026
- NCSC: Critical security issue affecting PHP, 21 October 2026
- AWS Security Blog: Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot - 21 October 2026
- PHP: GHSA-w8hw-w9fx-j79w, 21 October 2026
- NVD: CVE-2026-109618, 21 October 2026
- AWS Security Blog: Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPot, 21 October 2026
Categories & features
- Cybersecurity
- Web Security
- Patch Management
- Vulnerability Management
- PHP
- Web Development
- Application Security
TrustList Weekly
The week in software and IT, in one email
The news that matters to buyers, new rankings and our own research. Every Thursday, free, and easy to leave.
You may be interested in
SA-CORE-2026-014 scores 19 out of 25. Sites on 11.2 or 10.5 and older have no patch; uninstalling the Field UI module blocks the flaw until an upgrade is possible.
Nine advisories published on 5 October cover four high-severity code execution paths through the Twig sandbox; Canada's Cyber Centre urged updates on 20 October. The fixes have been out since 1 September.
FoxIO found seven of ten HTTP/3 stacks open to header amplification. quic-go, Cloudflare quiche, lsquic and Wireshark are fixed; Bun, the h3 crate and aioquic are not, and a proof of concept is public.
One flaw sits in image optimisation of SVG files and reaches back to Next.js 10; the other hits the use cache directive in 16.x and has no workaround. A third advisory fixes a Server Actions denial of service.
Six of the flaws give a back-office user a way to run code on the server. CERT/CC says it could not reach the maintainers, who released security fixes for the 3.x lines on 6 October.
Google announced the removal a year ago; the XSLTEnabled enterprise policy and an origin trial keep it working only until Chrome 176, due on 17 August 2027.
Edge 159 disables the XSLTProcessor API and XSL stylesheet instructions by default. A temporary XSLTEnabled policy buys time until Edge 176 in summer 2027.
More on TrustList
Everything here links back to the same verified catalogue. Pick your next stop.
- More CybersecurityThe ranking for this subject
- CompaniesAgencies, consultancies and IT service providers, ranked by verified reviews.
- ProductsSoftware and SaaS with pricing, features, integrations and alternatives.
- AwardsAnnual recognition decided by verified reviews and an independent jury.
- LaunchesNew products and releases, voted up by the community every day.
- AI ModelsBenchmark scores and community ratings for every major model.
- RequestsBuyers describe what they need; vendors respond directly.
- PeopleReviewers, authors and makers with public profiles.
- ComparePut up to four listings side by side before you shortlist.