CVE-2026-109618 and CVE-2026-109619
Critical exploits (RCE) have been announced for all current PHP versions:
I know these images are rebuilt nightly, but it may be worth rebuilding as soon as possible after the ~14:00 UTC patch time, if possible.
@shinsenter Can you make this possible?
This might work....
# TEMP: patched PHP until shinsenter rebuilds (issue #434). Remove afterwards.
FROM php:8.2.35-fpm-trixie AS php_patched # use the real patch version once released
FROM --platform=$BUILDPLATFORM shinsenter/php:${PHP_VERSION}-${PHP_VARIATION} AS base
COPY --from=php_patched /usr/local/bin/php /usr/local/bin/php-config /usr/local/bin/phpize /usr/local/bin/
COPY --from=php_patched /usr/local/sbin/php-fpm /usr/local/sbin/
COPY --from=php_patched /usr/local/include/php /usr/local/include/php
COPY --from=php_patched /usr/local/lib/php/extensions /usr/local/lib/php/extensions
COPY --from=php_patched /usr/src/php.tar.xz /usr/src/
# Fail the build if PHP isn't patched
RUN php -r 'exit(version_compare(PHP_VERSION, "8.2.35", "<") ? 1 : 0);'
Something in the likes.
Sharing a stopgap in case it helps anyone waiting for the rebuild.
Until a patched image is out, we disabled session.upload_progress on our deployments. The image already maps PHP_* environment variables to ini settings, so no rebuild is needed:
docker service update --env-add PHP_SESSION_UPLOAD_PROGRESS_ENABLED=0 <service>
Verified inside the running container afterwards:
$ php -r 'var_dump(ini_get("session.upload_progress.enabled"));'
string(1) "0"
For Compose / stack files, the same thing so a redeploy does not silently drop it:
environment:
PHP_SESSION_UPLOAD_PROGRESS_ENABLED: "0"
Check first that your app does not rely on upload progress tracking. Ours does not, so there was no functional impact. We will still move to the patched image as soon as it is published.
PHP 8.5.12 Released! How can we generate new images?
I will rebuild all images
If you want to monitor; https://github.com/shinsenter/php/actions/runs/39612084149
Is this job stuck? https://github.com/shinsenter/php/actions/runs/39612084149/job/119263640295, or is it expected that it takes such a long time, @shinsenter ?
Can we stop/restart it?
https://www.githubstatus.com/ well....
any update on this
@jaybhatt-csc it's in the hands of Github performance at the moment...
Things seem to be improving
Edit; looks like this will take some time regardless...
| Image | On Docker Hub | PHP inside | Fixed? |
|---|---|---|---|
| 8.5-fpm | 17:12 UTC | 8.5.12 | Yes |
| 8.3-fpm | 16:51 UTC | 8.3.35 | No |
| 8.4-fpm | Still building | – | – |
| 8.2-fpm | Still building | – | – |
The official php images with the fixed versions went up on Docker Hub between 16:35 and 16:48 UTC. shinsenter's 8.3 job was built from the base image before 8.3.36 reached it, so it needs shinsenter's next build.
The 8.4 and 8.2 jobs are building after the official images were published, so they will probably come out fixed.
can we repeat ASAP the build for 8.3 ?
please rebuild and upgrade php 8.3-fpm to 8.3.36 ASAP
Seems like new build has been kicked off; https://github.com/shinsenter/php/actions/runs/39643681632
Don't want to sound rude - I do appreciate the efforts here but for the love of PHP, can we keep the actions running as they are at the moment? 🙏
@Thijmen I have merged a PR and re-triggered the new builds here. https://github.com/shinsenter/php/actions/runs/39645947429
Hi, when will the php:8.5-fpm-apache image be updated to PHP 8.5.12? The current image is still using PHP 8.5.11, which is affected by the recently disclosed critical vulnerabilities. Thanks!
@Alejooc wait until https://github.com/shinsenter/php/actions/runs/39645947429 is done.