Mitigating PHP2Shell RCE Vulnerabilities CVE-2026-109618 and CVE-2026-109619 on Legacy PHP 5.6 Stacks with Varnish, Docker and Apache mod_php
Two critical remote code execution vulnerabilities collectively known as PHP2Shell (CVE-2026-109618 and CVE-2026-109619, CVSS 9.2) were disclosed on 21 October 2026, impacting the PHP interpreter at the Zend Engine level before any user code runs.
The flaws exploit the engine’s emergency exit via longjmp() during out-of-memory conditions and stale pointer reuse after fatal errors or timeouts, particularly when session.upload_progress tracking is active.
Patches were released only for currently supported branches (8.2.35, 8.3.36, 8.4.27, 8.5.12), leaving legacy PHP 5.6 installations without official fixes and especially vulnerable when running under Apache mod_php.
Original vulnerable architecture
The affected production environment uses Docker Compose on AlmaLinux with traffic flowing through Hitch TLS terminator, Varnish 6.0 LTS, and two Apache containers running mpm_prefork + mod_php (PHP 5.6.40 from Remi). Default settings included MaxConnectionsPerChild 1000, memory_limit 512M, and enabled session upload progress tracking, creating ideal conditions for both CVEs.
Layered mitigation strategy
The administrator applied four defensive layers. First, a dedicated zz-cve-2026.ini file disables session.upload_progress.enabled = 0 and sets memory_limit = -1, moving memory control to Docker cgroups while also tightening post_max_size, upload_max_filesize, and input limits.
Second, Docker resource limits cap each Apache container at 4 GB RAM, ensuring the kernel OOM killer terminates runaway processes without invoking PHP destructors. Apache configuration was changed to MaxConnectionsPerChild 1 and LimitRequestBody 33554432 to eliminate reuse of potentially corrupted worker memory.
Third, Varnish VCL rules block requests containing PHP_SESSION_UPLOAD_PROGRESS cookies or URLs and reject oversized POST bodies before they reach PHP backends.
Fourth, synthetic error responses for 403 and 413 status codes force Connection: close to prevent keep-alive drain attacks that could stall Varnish workers.
Testing results and edge cases
Verification confirmed that Varnish correctly returns 403 for malicious cookies on PHP routes while leaving Node.js backends unaffected. Direct Apache tests showed that LimitRequestBody and PHP’s post_max_size checks interact differently depending on whether an index.php handler is present, highlighting the need for defense-in-depth.
The complete set of controls neutralizes both PHP2Shell vectors on the unsupported legacy stack without requiring code changes or downtime.
Related articles
WhatsApp to Force iOS Updates on Vulnerable iPhones to Block Spyware Attacks
WhatsApp, owned by Meta, will begin enforcing mandatory iOS updates for users running vulnerable versions of Apple's operating system. The policy responds to active campaigns deploying spyware through web-based attacks that require no user interaction beyond visiting a malicious site. Devices showing signs of compromise will have sessions terminated until the latest iOS patch is installed. The requirement will soon apply to all users with vulnerable iOS versions regardless of infection status and will also block new account registrations on affected devices. The move follows similar warnings issued by Telegram founder Pavel Durov regarding the same threat actors. Researchers have linked the activity to the Coruna and DarkSword exploit kits, which target specific iOS ranges and focus on stealing personal data and cryptocurrency wallet contents. iVerify reports that 75 percent of detected spyware incidents now stem from these mass criminal campaigns rather than targeted operations.
Yandex SmartCaptcha Fully Bypassed by Automated Audio Challenge Solver
A detailed reverse engineering report demonstrates that Yandex SmartCaptcha can be solved autonomously without human intervention. The researcher built a pipeline combining Vosk, Whisper large-v3-turbo and a spectral ensemble that passes the audio challenge on three consecutive attempts. The analysis reveals that the widget actually runs across three separate iframes, with all /check requests originating from a hidden backend iframe containing the 551 KB obfuscated PGreed fingerprinting library. Proof-of-Work, canvas fingerprints, mouse telemetry and 104 encrypted device attributes are collected, yet the audio branch proves weaker than intended. The static intro track and limited four-digit vocabulary allow the multi-engine consensus to outperform human listeners on the same distorted audio samples.
Linux 5.10 LTS and 5.15 LTS Reach End of Life with Thousands of Unpatched CVEs
Greg Kroah-Hartman has officially moved the Linux 5.10 LTS and Linux 5.15 LTS kernel branches to end-of-life status in early December 2026. The kernels, which received long-term support since 2020 and 2021 respectively, will no longer receive security updates after five to six years of maintenance. Hundreds of unpatched vulnerabilities remain in the final releases, with 2366 CVEs listed for version 5.10.276 and 2264 CVEs for 5.15.227. Kroah-Hartman strongly recommends migrating to currently supported LTS branches such as Linux 6.1 and Linux 6.6. The next long-term kernel is expected to be Linux 7.3 rather than the later Linux 7.4 release.
Critical OS Command Injection Flaw in Movable Type Already Under Active Exploitation
Six Apart has disclosed a severe vulnerability in its Movable Type content management system that allows remote attackers to execute arbitrary operating system commands. The flaw, tracked as CVE-2026-125615, resides in the installation wizard component mt-wizard.cgi and carries a CVSS v4.0 base score of 9.3 along with a CVSS v3.0 score of 9.8. Security updates addressing the issue were released on December 1, 2026, covering multiple versions of both Movable Type and Movable Type Premium. The vendor has already observed real-world attacks exploiting the vulnerability. All cloud-hosted environments have been automatically updated, while on-premises users are urged to apply the patches immediately. JVN has issued an urgent advisory highlighting the need for rapid remediation.