PHP Patches Two Critical Unauthenticated RCEs (CVE-2026-109618, CVE-2026-109619): [Updated for CVE-2026-115560]
Two critical vulnerabilities in the PHP runtime allow unauthenticated remote code execution before any application code runs. An attacker can trigger memory corruption or use stale internal state to execute code on the server.
snyk.io
Published on snyk.io
On Wednesday, October 21, 2026 at 14:00 UTC, the PHP project released PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35 to fix two critical vulnerabilities, both rated CVSS v4.0 9.2, that can allow unauthenticated remote code execution. The PHP security team advises: "There are no complete mitigations; updating is the only safe…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a combination of out-of-memory handling interrupting partially initialised request data and request-owned internal state surviving after its memory is freed, leading to use-after-free.
Impact
An unauthenticated attacker could execute arbitrary code on the server, with Apache with mod_php being most vulnerable and a single request sufficient to trigger the attack.
What the attacker needed
PHP runtime serving web requests; unauthenticated network access
The fix
The vulnerabilities were fixed in PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35; users should update and also keep session.upload_progress.enabled=0 if their application switches session.serialize_handler at runtime.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
PHP is a programming language used to build many websites. These bugs are in the core of PHP itself, not in a website's own code, so any server running the affected versions is at risk. An attacker can send a specially crafted request to make the server run their code without needing to log in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.