speedtest icon indicating copy to clipboard operation
speedtest copied to clipboard

CVE-2026-109618 / CVE-2026-109619

Open cadirol opened this issue 1 month ago • 3 comments

Two critical security vulnerabilities, CVE-2026-109618 and CVE-2026-109619, have been reported in PHP. Public reports indicate that these vulnerabilities may allow remote code execution (RCE) under certain conditions.

Since LibreSpeed is a PHP-based web application, it would be useful to assess whether the application or its deployment recommendations are affected and document any necessary mitigations.

References:

  • PHP security announcement: https://www.php.net/archive/2026.php#2026-10-20-1
  • CVE-2026-109618
  • CVE-2026-109619

cadirol avatar Oct 21 '26 12:10 cadirol

To provide technical context on how this impacts LibreSpeed deployments:

  1. Application-level vs Runtime: There is no bug in LibreSpeed itself. However, because both CVE-2026-109618 (OOM bailout heap corruption) and CVE-2026-109619 (stale global state UAF) trigger in the PHP core during multipart HTTP request parsing before any application code executes, any web deployment running on an unpatched PHP interpreter is vulnerable. Because LibreSpeed processes frequent telemetry uploads and POST streams, unpatched servers should be secured immediately.

  2. Supported versions (8.2+): Upgrade to the upstream fixed releases: 8.2.35, 8.3.36, 8.4.27, or 8.5.12 via your distribution's package manager.

  3. Temporary Mitigations: If you cannot update the PHP runtime immediately, set both session.upload_progress.enabled = 0 and memory_limit = -1 in your PHP-FPM pool / php.ini (and restart workers).

  4. Legacy EOL Runtimes (5.6, 7.4, 8.0, 8.1): For self-hosted instances running on older PHP versions without distro packages, we maintain source backports (PHP Group minimal patches + root-cause counter fixes) with automated build scripts: 👉 https://github.com/Anton-Barinov/php2shell-patches

Anton-Barinov avatar Oct 21 '26 16:10 Anton-Barinov

No code change needed. Images with latest tag rebuilt

sstidl avatar Oct 21 '26 21:10 sstidl

Leaving open for the community to see.

sstidl avatar Oct 21 '26 21:10 sstidl