adminer icon indicating copy to clipboard operation
adminer copied to clipboard

PHP CVE-2026-109618 and CVE-2026-109619 (RCE in php-src) affect Adminer deployments

Open bryne91 opened this issue 1 month ago • 2 comments

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.

bryne91 avatar Oct 21 '26 16:10 bryne91

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_limit exhaustion, which directly invokes the vulnerable zend_bailout cleanup path of CVE-2026-109618.
  • Temporary mitigation: ensure both session.upload_progress.enabled = 0 and memory_limit = -1 are 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

Anton-Barinov avatar Oct 21 '26 16:10 Anton-Barinov

Unless someone is living under a rock, they probably already know that they should upgrade PHP. Repeating this by Adminer changes nothing.

vrana avatar Oct 22 '26 22:10 vrana