Repository navigation
Important
Two releases today, and both have the critical PHP security fixes. v5.1.5 shipped this morning with only the security patches, so nobody had to wait on PHP 8.6. v5.2.0 has the same patches and adds PHP 8.6.0. If you're already on v5.1.5, you're patched.
| Release | What's in it |
|---|---|
| v5.1.5 | PHP 8.5.13, 8.4.28, 8.3.37, and 8.2.36 (security fixes) |
| v5.2.0 | Everything in v5.1.5, plus PHP 8.6.0 |
🐘 PHP 8.6 is here (#748)
PHP 8.6.0 (and GTA 6) came out today. Every variation ships it on all four OSes (Alpine 3.23, Alpine 3.24, Bookworm, and Trixie):
serversideup/php:8.6-fpm-nginx
latest, 8, and the bare variation tags like fpm-nginx now point to 8.6.0, the same as the official php:latest image. If you use those tags and aren't ready for 8.6, pin to 8.5 (like 8.5-fpm-nginx) before you pull.
A few things to know:
- The
8.6-rctags stop updating. Move to8.6. - phpredis 6.3.0 doesn't compile on PHP 8.6 yet, so 8.6 images build phpredis from its development branch, and it reports
6.3.0RC1. We'll switch to a stable release once phpredis ships one with 8.6 support.
🚨 Today's PHP security fixes
php.net fixed 17 vulnerabilities today. Seven of them are rated critical. These are in php/php-src upstream, not in this repo. Both v5.1.5 and v5.2.0 compile every image from php.net's patched source.
| Severity | CVE | Area | Issue | PHP |
|---|---|---|---|---|
| Critical (9.2) | CVE-2026-129182 | Core | Use-after-free via repopulation of last_fatal_error_backtrace global after shutdown | 8.5 |
| Critical (9.2) | CVE-2026-129474 | Core | Use-after-free in magic method backtraces can lead to remote code execution | 8.5 |
| Critical (9.2) | CVE-2026-129496 | Date | Timezone cache use-after-free can lead to remote code execution | 8.2+ |
| Critical (9.2) | CVE-2026-129289 | FPM | PHP-FPM request smuggling through an unread HTTP request body | 8.2+ |
| Critical (9.2) | CVE-2026-115560 | Session | Session serializer mismatch can lead to remote code execution | 8.2+ |
| Critical (9.2) | CVE-2026-126714 | Session | Partially overwritten session files can lead to remote code execution | 8.2+ |
| Critical (9.2) | CVE-2026-129481 | Session | Use-after-free after interrupted session shutdown | 8.3+ |
| High (8.8) | CVE-2026-129291 | FPM | PHP-FPM epoll use-after-free can lead to local privilege escalation | 8.2+ |
| High (8.7) | CVE-2026-127960 | Standard | Denial of service through folded HTTP response headers | 8.2+ |
| High (8.2) | CVE-2026-128064 | Standard | Mixed-case HTTPS and FTPS URLs can expose data in plaintext | 8.2+ |
| High (7.7) | CVE-2026-128090 | Phar | PHAR OpenSSL signature bypass via algorithm downgrade | 8.2+ |
| Medium (6.9) | CVE-2026-129538 | CGI | PHP-CGI out-of-bounds read and write during PATH_INFO correction | 8.2+ |
| Medium (6.3) | CVE-2026-129501 | DOM | Double free during DOM XML serialization | 8.4+ |
| Medium (6.3) | CVE-2026-129506 | SOAP | SOAP use-after-free when processing DTD entity references | 8.2+ |
| Medium (6.3) | CVE-2026-15353 | SOAP | SOAP information disclosure through malformed array dimensions | 8.2+ |
| Medium (6.3) | CVE-2026-129438 | URI | Incorrect RFC 3986 URI serialization for oversized input | 8.5 |
| Medium (5.3) | CVE-2026-129292 | FPM | PHP-FPM status endpoint XSS via unescaped user and script fields | 8.2+ |
| Not rated | CVE-2026-48841 | URI | Bundled uriparser upgraded to 1.0.3 | 8.5 |
The full list is in php.net's changelog. To see which of these our defaults already block, check the v5.1.5 release notes or #749.
| PHP | Version in this release |
|---|---|
| 8.6 | 8.6.0 (new) |
| 8.5 | 8.5.13 |
| 8.4 | 8.4.28 |
| 8.3 | 8.3.37 |
| 8.2 | 8.2.36 |
| 8.1 | 8.1.34 (not patched, end of life) |
PHP 8.1 is end of life. php.net didn't release a fix for it. If you're on 8.1, move to 8.2 or newer.
⬆️ How to update
| If you use | Example | Do this |
|---|---|---|
| A floating tag | 8.5-fpm-nginx |
Pull and redeploy |
| A release tag | 8.5-fpm-nginx-v5.1.4 |
Change it to 8.5-fpm-nginx-v5.2.0 (or v5.1.5) |
| A patch version tag | 8.5.12-fpm-nginx |
Change it to 8.5.13-fpm-nginx |
latest, 8, or fpm-nginx |
fpm-nginx |
You'll get PHP 8.6. Pin to 8.5-fpm-nginx if you're not ready. |
If you build your own image FROM serversideup/php, rebuild with --pull so Docker doesn't reuse the old base image:
docker compose build --pull🐛 Bug fixes
- Builds could miss a PHP release that php.net had just published, because php.net's CDN kept serving release data it cached before the release. Our builds now always read the current data, so patches ship as soon as php.net lists them.
If you're using these images professionally
If these images help your business, sponsoring us on GitHub is the best way to say thanks. 🙏
Full Changelog: v5.1.5...v5.2.0