Vulnerabilityin the phpmyadmin/phpmyadmin package.
Weaponized: a Metasploit exploit is public.
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.
- Upgrade phpmyadmin/phpmyadmin (Packagist) to 4.0.10.16, 4.4.15.7, 4.6.3 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 21 Jun 2016CVE ID reserved by mitre.
- 23 Jun 2016Metasploit module: phpMyAdmin Authenticated Remote Code Execution.
- 3 Jul 2016Published in the CVE List.
- 8 Jul 2016First public proof of concept on GitHub.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- github.com x_refsource_CONFIRM
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.phpmyadmin.net x_refsource_CONFIRM
- github.com x_refsource_CONFIRM
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
Patchminder. CVE-2016-5734: Vulnerability in the phpmyadmin/phpmyadmin package. https://patchminder.com/cve/cve-2016-5734/ (accessed 5 December 2026).