PHP published fixes for CVE-2026-109618 and CVE-2026-109619 on October 21, 2026, in four upstream releases: 8.2.35, 8.3.36, 8.4.27 and 8.5.12. The release numbers are not necessarily the package numbers an administrator sees: distributions and long-term-support vendors may backport fixes for older branches. (PHP’s release archive)

Both vulnerabilities are rated Critical, with a CVSS v4.0 score of 9.2. They can allow remote code execution, meaning an attacker may be able to make a server run code through a request, under conditions that depend on the PHP version, server interface and configuration. PHP’s advisories describe specific exploitable paths; running PHP alone does not mean a site was exploitable or compromised. (CVE-2026-109618 advisory; CVE-2026-109619 advisory)

What the two PHP vulnerabilities affect

The flaws have different causes. CVE-2026-109618 involves out-of-memory handling: a request can encounter an allocation failure while internal data is only partly initialized, leaving later cleanup to handle invalid state. PHP confirms a remote-code-execution path for Apache’s mod_php interface.

CVE-2026-109619 involves stale global state. Data associated with one request can remain referenced after its memory has been freed, then be used by a later request handled by the same worker. PHP confirms remote-code-execution paths for mod_php and PHP-FPM under the conditions in its advisory.

SAPI, or server application programming interface, is the way PHP connects to a web server. PHP’s notices also discuss PHP-FPM, php-cgi, FrankenPHP and LiteSpeed, but the advisories do not establish identical exploit conditions for every interface or configuration.

The four fixed upstream PHP releases

PHP branchFixed upstream release
PHP 8.28.2.35
PHP 8.38.3.36
PHP 8.48.4.27
PHP 8.58.5.12

These are upstream release numbers. A Linux distribution or hosting provider may deliver a backport, which means it applies a security fix to a maintained package without necessarily adopting the same upstream version number. For the release list, see our earlier coverage of PHP’s fixes; the packaging handoff is especially relevant to older installations.

Why older PHP installations rely on downstream maintainers

Abstract paths branch from an upstream software fix through package-maintenance stages toward separate server installations.

The PHP project says PHP 8.1 and earlier no longer receive fixes from upstream. Some distributions and long-term-support vendors maintain their own packages and backport security fixes. PHP also supplied minimal source backports for PHP 7.4, 8.0 and 8.1, but those source patches do not establish one fixed package version for every vendor.

That is where downstream maintainers matter: they adapt and distribute fixes for the packages their users actually run. EL PAÍS reported that Ondrej Surý packaged the patched code for Debian and adapted fixes for older PHP versions. The account illustrates why a package’s status can depend on its distribution or support provider, rather than matching the upstream version table.

PHP’s separate October 23 session notice

On October 23, PHP described a different issue, later identified in its notice as CVE-2026-115560. It concerns a specific application sequence: session.serialize_handler is set to php_binary or php_serialize, changed at runtime to php before session_start(), and session upload progress remains enabled. For that configuration, PHP recommended disabling session.upload_progress.enabled until the next regular bug-fix release.

That setting addresses the specified session scenario. For the two October 21 vulnerabilities, PHP says configuration workarounds reduce exposure to particular paths; updating to a fixed release is the complete remedy.