Opened 3 hours ago

Last modified 92 minutes ago

#24156 new enhancement

php-8.5.12

Reported by: Joe Locash Owned by: blfs-book
Priority: high Milestone: 13.2
Component: BOOK Version: git
Severity: critical Keywords:
Cc:

Description

New point release. 2 critical CVE's have been fixed:

Message-ID: <CAEKnhAENTs9-=FsuKz8ABQ9H84jfA-xsVYT56P-OhoKnBhNN7g@mail.gmail.com>
Date: Wed, 21 Oct 2026 16:41:54 +0200
From: Jakub Zelenka <bukka@....net>
To: oss-security@...ts.openwall.com
Subject: CVE-2026-109618: PHP 8.2–8.5 RCE via OOM corruption

Hello,

The PHP security team announces a critical vulnerability in PHP core
(php-src).

CVE: CVE-2026-109618
Severity: Critical (CVSS v4.0: 9.2)

Affected versions are PHP 8.2 before 8.2.35, PHP 8.3 before 8.3.36, PHP 8.4
before 8.4.27, and PHP 8.5 before 8.5.12.

PHP uses longjmp() to abort request handling on out-of-memory (OOM) errors.
An allocation failure can interrupt initialization while incomplete request
state is already reachable. Request shutdown may then access this invalid
state, potentially allowing remote code execution.

Unauthenticated RCE has been demonstrated over HTTP against Apache mod_php,
before application code executes. Source analysis also indicates FPM
susceptibility, although a complete FPM exploit has not been demonstrated.

Upgrade to PHP 8.2.35, 8.3.36, 8.4.27, or 8.5.12, or a later release in the
corresponding branch. Updating is the only complete mitigation.

Full technical details and mitigation guidance are available at:
https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w
Message-ID: <CAEKnhAH+MYHvVOujPDuwwFZmLfeVySqKbmP9=7YErtqU4RB0hA@mail.gmail.com>
Date: Wed, 21 Oct 2026 16:44:06 +0200
From: Jakub Zelenka <bukka@....net>
To: oss-security@...ts.openwall.com
Subject: CVE-2026-109619: PHP 8.2–8.5 RCE via stale global state

Hello,

The PHP security team announces a critical vulnerability in PHP core
(php-src).

CVE: CVE-2026-109619
Severity: Critical (CVSS v4.0: 9.2)

Affected versions are PHP 8.2 before 8.2.35, PHP 8.3 before 8.3.36, PHP 8.4
before 8.4.27, and PHP 8.5 before 8.5.12.

PHP maintains global state that temporarily points into request memory. In
some scenarios, this state is not correctly reset, or is repopulated after
being reset. Once the request memory is freed, a subsequent request handled
by the same worker may access the stale state before normal initialization
replaces it, causing a use-after-free and potentially allowing remote code
execution.

Unauthenticated RCE has been demonstrated against Apache mod_php and
PHP-FPM. Exploitability depends on the affected state, configuration, and
application behavior.

Upgrade to PHP 8.2.35, 8.3.36, 8.4.27, or 8.5.12, or a later release in the
corresponding branch. Updating is the only reliable mitigation; there is no
complete generic configuration workaround.

Full technical details and mitigation guidance are available at:
https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp

Change History (1)

comment:1 by zeckma, 92 minutes ago

These are absolutely urgent and should also be updated on our applicable servers. This is known as PHP2SHELL.

Note: See TracTickets for help on using tickets.