PHP 8.3

PHP 8.3 and PHP2Shell: fixed in 8.3.36

Short answer

PHP 8.3.0 – 8.3.35 is vulnerable to PHP2Shell (CVE-2026-109618, CVE-2026-109619). The fix is PHP 8.3.36, released on 21 October 2026, and every later 8.3 release has it too. Since 19 November 2026, the release to install is PHP 8.3.37, which adds 13 more security fixes. Distribution packages keep older version numbers, so check the first fixed build for your platform below.

On this page

Affected and fixed PHP 8.3 versions

Vulnerable8.3.0 – 8.3.35
First fixed release8.3.36 (21 Oct 2026)
Latest security release8.3.37 (19 November 2026): 13 more security fixes
Branch statusSecurity fixes until 31 Dec 2027

Any PHP 8.3 release above 8.3.35 contains the fix for both CVE-2026-109618 and CVE-2026-109619. On Windows, PHP republished the binaries as 8.3.36-1 on 26 October to update the bundled Brotli library; the PHP2Shell fix is the same, but install the -1 build.

Fixed builds by platform

Distributions backport the fix into the version they ship, so their number stays below the upstream release. The build shown is the first fixed one; anything later is fixed too.

PlatformPackageFirst fixed buildGuide
Ubuntu 24.04 LTSphp8.38.3.6-0ubuntu0.24.04.13Steps
cPanel EasyApache 4ea-php838.3.36Steps
Plesk (Linux)PHP 8.3 handler8.3.36Steps
DirectAdmin CustomBuildphp838.3.36Steps

Using RHEL, AlmaLinux or Rocky? Check whether your fix has landed with dnf updateinfo list --cve CVE-2026-109618: RHEL family guide.

Check which PHP 8.3 you run

The PHP that serves your website can differ from the one php -v shows in a terminal. How to find the one that matters. Then check that build:

# Debian / Ubuntu packages: the changelog should list both CVE IDs
zgrep -E 'CVE-2026-10961(8|9)' /usr/share/doc/php8.3-common/changelog.Debian.gz

# cPanel EasyApache 4
/opt/cpanel/ea-php83/root/usr/bin/php -v

# Plesk
/opt/plesk/php/8.3/bin/php -v

# DirectAdmin
/usr/local/php83/bin/php -v

Got a version number? Paste it into the version checker, or run npx php2shell-checker@latest --local on the server. For distro packages the changelog is the authority, because the number stays below 8.3.36.

Docker images for PHP 8.3

The official php:8.3 tags (php:8.3-fpm, php:8.3-apache, php:8.3-cli) follow the newest 8.3 release, now 8.3.37. A container keeps the PHP it was built with, so rebuild and redeploy:

docker build --pull --no-cache -t myapp:php83-fixed .

For reproducible builds, pin the fixed release in your Dockerfile:

FROM php:8.3.37-fpm

Then check the running container with docker exec <name> php -v. Docker & Kubernetes guide

PHP 8.3.37: the November 2026 security release

On 19 November 2026 PHP released 8.3.37 with 13 security fixes, 5 of them rated critical. It also fixes CVE-2026-115560, the session upload progress flaw that 8.3.36 left open. PHP says the critical issues need a non-default configuration or an uncommon setup, such as a web server that reuses FastCGI connections. Install 8.3.37 anyway: 8.3.36 fixes PHP2Shell but none of these.

What each fix needs, and which ones apply to PHP 8.3: the November 2026 release explained. To see which ones your server can reach today, run the seven quick checks.

Until your PHP has the fixes, keep session upload progress off in the php.ini your web server uses, and make sure your web server doesn't reuse FastCGI connections (how to check):

session.upload_progress.enabled = 0

How long PHP 8.3 is supported

Security fixes until 31 December 2027. PHP 8.3 only gets security fixes now, until the end of 2027. It’s fine to stay on it for another year; plan the move to 8.4 or 8.5 during 2027.

Rather not do it yourself? We patch and verify one server, from €79.

Other branches: PHP 8.5 · PHP 8.4 · PHP 8.2 · PHP 8.1 · PHP 7.4 · all fixed versions

Shayan Abbas writes these PHP security guides from the official advisories and vendor guidance listed below, and updates them when those change. About this site

Sources

  1. php.net — PHP2Shell security release (21 Oct 2026)
  2. php.net — Supported versions
  3. Ubuntu — USN-8948-1: PHP vulnerabilities
  4. php.net — News archive 2026 (Windows rebuilds, 26 Oct)
  5. Docker Hub — official php image

Know about the next critical PHP bug first

Short, plain-English alerts when a serious PHP vulnerability or fix lands — with what to patch and how. About two emails a month.