Skip to content

Update PHP to 8.5.13, 8.4.28, 8.3.37, and 8.2.36 - #272

Merged
csandanov merged 4 commits into
masterfrom
fix/php-security-2026-11-19
Nov 19, 2026
Merged

csandanov merged 4 commits into
masterfrom
fix/php-security-2026-11-19

Conversation

@csandanov

@csandanov csandanov commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Problem

PHP has a new set of security vulnerabilities that affect every PHP version in these images. The most serious can let an attacker run code on the server through use-after-free bugs in the engine, sessions, timezones and SOAP. Others allow request smuggling and local privilege escalation in PHP-FPM, and memory corruption in PHP-CGI. The PHP security team rates the highest of them critical; those need a non-default configuration or an uncommon setup.

Cause

The images use PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. The fixes were released on 2026-11-19 in PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36.

Solution

Build the images on the fixed PHP releases from the official Docker images. Nothing else in the images changes.

Changes

  • PHP 8.5.12 → 8.5.13, 8.4.27 → 8.4.28, 8.3.36 → 8.3.37, 8.2.35 → 8.2.36 (announcement; changelog).
  • Pinned multi-platform digests of the official php:<version>-fpm-alpine images.

Fixed in every supported branch: CVE-2026-115560, CVE-2026-126714, CVE-2026-127960, CVE-2026-128064, CVE-2026-128090, CVE-2026-129289, CVE-2026-129291, CVE-2026-129292, CVE-2026-129496, CVE-2026-129506, CVE-2026-129538, CVE-2026-15353. Some branches also get CVE-2026-129182, CVE-2026-129438, CVE-2026-129474, CVE-2026-129481, CVE-2026-129501, and CVE-2026-48841.

Validation

  • Each pinned digest is the official multi-platform index for php:<version>-fpm-alpine, and lists linux/amd64 and linux/arm64. Its amd64 and arm64 images are the same ones published in amd64/php and arm64v8/php.
  • The release build for this change builds, tests and scans every PHP version and variant.

These security releases fix 18 vulnerabilities, including use-after-free bugs
that can lead to remote code execution, PHP-FPM request smuggling and local
privilege escalation, and a PHP-CGI out-of-bounds write. The base image digests
follow once the official images are published for amd64 and arm64.
Pin the official multi-platform php:<version>-fpm-alpine index digests, each
verified to include linux/amd64 and linux/arm64. PHP 8.5.13 and 8.4.28 follow
once their official images are published.
Pin the official multi-platform php:8.4.28-fpm-alpine index digest, verified to
include the linux/amd64 and linux/arm64 images published for each architecture.
@LvckyAPI

Copy link
Copy Markdown

again waiting for https://github.com/docker-library/official-images i guess? xd

Pin the official multi-platform php:8.5.13-fpm-alpine index digest, verified to
include the linux/amd64 and linux/arm64 images published for each architecture.
@csandanov
csandanov marked this pull request as ready for review November 19, 2026 15:31
@csandanov
csandanov merged commit b0ef49c into master Nov 19, 2026
2 of 34 checks passed
@csandanov
csandanov deleted the fix/php-security-2026-11-19 branch November 19, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants