PHP CVE-2026-109618 and CVE-2026-109619 (RCE in php-src) affect Adminer deployments
PHP Group published two RCE vulnerabilities in the PHP interpreter on 2026-10-21. They are not bugs in Adminer, but every Adminer deployment running on an affected PHP version is exposed.
- CVE-2026-109618, RCE via OOM corruption (GHSA-w8hw-w9fx-j79w): PHP aborts a request on out-of-memory via
longjmp(), some contexts leave request memory uninitialized and the request cleanup may then read it. - CVE-2026-109619, RCE via stale global state (GHSA-6wmf-4rv5-p3rp): global state may keep pointing to freed request memory and a subsequent request may read it.
Affected: PHP 8.2 < 8.2.35, 8.3 < 8.3.36, 8.4 < 8.4.27, 8.5 < 8.5.12. Older unsupported versions get no fix.
Adminer can easily hit memory limits (import, export, large result sets), so OOM-based triggering may be easier than in a typical PHP application.
There is nothing to fix in Adminer itself. Possible actions:
- Recommend upgrading PHP in the README or on adminer.org.
- Maybe mention it in the release notes of the next version.
For anyone running Adminer deployments on older EOL PHP environments (5.6, 7.4, 8.0, 8.1) where upgrading PHP to 8.2+ is blocked by legacy host dependencies:
- As @bryne91 rightly pointed out, Adminer's typical workflow (uploading large SQL dumps via multipart forms or exporting massive result sets) can easily trigger
memory_limitexhaustion, which directly invokes the vulnerablezend_bailoutcleanup path of CVE-2026-109618. - Temporary mitigation: ensure both
session.upload_progress.enabled = 0andmemory_limit = -1are configured at the web SAPI / pool level (relying on container/cgroup boundaries for memory limits rather than PHP's internal allocator). - Source backports for legacy stacks: if you cannot update the base OS or packages, we maintain source backports (adapting the PHP Group minimal logic and root-cause counter sync) with an automated build script to compile isolated runtimes into
/opt/php-<ver>-patched: 👉 https://github.com/Anton-Barinov/php2shell-patches
Unless someone is living under a rock, they probably already know that they should upgrade PHP. Repeating this by Adminer changes nothing.