RC RANDOM CHAOS

PHP Releases Critical Patches for Remote Code Execution Flaws

· via Hacker News

Original source

Security advisory: Critical remote code execution vulnerabilities, update now

Hacker News →

The PHP project released urgent updates across supported versions to address two critical remote code execution vulnerabilities. PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35 patch flaws exploitable by unauthenticated attackers before application code runs, with particular risk for Apache mod_php deployments where attacks trigger during request handling.

The first vulnerability (CVE-2026-109618) involves out-of-memory error handling that leaves internal request data partially initialized, causing cleanup logic to misprocess invalid state. The second (CVE-2026-109619) allows request-owned internal state to persist in memory after its backing allocation is freed, enabling subsequent worker requests to use stale state before normal initialization occurs.

Immediate updates are the only complete fix. Partial mitigations exist for specific attack paths—setting memory_limit to unlimited, restricting request sizes via post_max_size, and disabling features like session upload progress—but these reduce exposure without eliminating risk. PHP 8.1 and earlier no longer receive official updates; affected users must upgrade to supported versions or obtain backports from their distribution vendor.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.