There were two critical vulnerabilities leading to RCE were exposed in PHP VE-2026-109618, CVE-2026-109619
Php has published the patch, but CircleCI images are not being updated with that. Can we expedite this request and publish the images?
I have also created an issue on GitHub at CircleCI PHP Image repo
opened 07:32PM - 21 Oct 26 UTC
bug
**Describe the bug**
The upstream PHP project released critical security updates… on October 21, 2026, fixing two unauthenticated Remote Code Execution (RCE) vulnerabilities in PHP (`CVE-2026-109618` and `CVE-2026-109619`). CircleCI PHP convenience images currently ship with unpatched PHP binary versions, leaving builds and services vulnerable to potential exploit vectors.
The fixed upstream versions are:
- PHP 8.5: Upgraded to 8.5.12
- PHP 8.4: Upgraded to 8.4.27
- PHP 8.3: Upgraded to 8.3.36
- PHP 8.2: Upgraded to 8.2.35
**To Reproduce**
Run a CircleCI job using the `cimg/php` image (e.g., `cimg/php:8.3` or `cimg/php:8.4`).
Execute `php -v` inside the container.
Observe that the installed version is lower than the required security releases (`8.5.12`, `8.4.27`, `8.3.36`, or `8.2.35`).
**Expected behavior**
The `cimg/php` convenience images should be updated and rebuilt to include the patch releases (PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35) to protect workloads against unauthenticated RCE.
**Workarounds**
No complete mitigation exists without upgrading the PHP binary. Temporary runtime adjustments noted by upstream (such as setting `memory_limit=-1` or `session.upload_progress.enabled=0`) only reduce specific attack surfaces but do not
**Screenshots and Build Links**
- Upstream Security Announcement: https://www.php.net/archive/2026.php#2026-10-21-5
**Additional context**
Vulnerability details per PHP Security Advisory (21 Oct 2026):
- CVE-2026-109618 (GHSA-w8hw-w9fx-j79w): RCE via OOM corruption — Out-of-memory handling can interrupt PHP while internal request data is only partially initialized, allowing cleanup logic to treat invalid memory as valid.
- CVE-2026-109619 (GHSA-6wmf-4rv5-p3rp): RCE via stale global state — Request-owned internal state can survive after its backing memory is freed, allowing a subsequent request handled by the same worker to access uninitialized/stale state.
Thanks for reporting this, and for opening the GitHub issue.
The patched images are now published on Docker Hub for all supported PHP versions:
cimg/php:8.5.12
cimg/php:8.4.27
cimg/php:8.3.36
cimg/php:8.2.35
The -node and -browsers variants have also been updated, and the version-only tags (e.g. cimg/php:8.4) now point to the patched releases.
If your config pins a specific patch version (e.g. cimg/php:8.3.35), please update it to the version above. If you use a version-only tag, your next build will pick up the fix.