Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
CVE

CVE-2016-5734

9.8
CVSS
Description

phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not properly choose delimiters to prevent use of the preg_replace e (aka eval) modifier, which might allow remote attackers to execute arbitrary PHP code via a crafted string, as demonstrated by the table search-and-replace implementation.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Updated Nov 17, 2026View on NVD →
S4E scanner

phpMyAdmin 4.0.x/4.4.x/4.6.x - Authenticated Remote Code Execution

phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not properly choose delimiters to prevent the preg_replace 'e' (eval) modifier being reachable through the table search-and-replace feature (CVE-2016-5734). On PHP older than 7.0 (where the /e modifier still exists), an authenticated attacker stores a crafted value (0/e followed by a NUL byte) in a table cell, then issues a regex find-and-replace whose replacement string is evaluated as PHP, achieving remote code execution. This template logs in, seeds the crafted row, and evaluates print(md5( )) via the replacement, confirming execution when the nonce's md5 appears in the response. The payload is PHP-native (no shell command), so it works on both Windows and Linux hosts. References: https://nvd.nist.gov/vuln/detail/CVE-2016-5734 https://github.com/advisories/GHSA-rv57-479x-x4qv https://www.exploit-db.com/exploits/40185 Remediation: Upgrade to phpMyAdmin 4.0.10.16, 4.4.15.7, 4.6.3 or later, and run on PHP 7.0+ (which removed the vulnerable /e modifier). Restrict phpMyAdmin access and do not use default database credentials.

10 assets checked · domain, subdomain, ipv4

Monitor this CVE on your assets

S4E maps published CVEs to scanners and forecasts the next disclosure window for your stack.

Create a free account →