CVE-2016-5734 · mitre
CVE-2016-5734
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.
Published 2016-07-03, last changed 2026-06-17. Weakness: CWE-94.
Public exploits
| Source | Kind | Reference |
|---|---|---|
| exploit-db | proof-of-concept | EDB-40185 |
| metasploit | exploit-module | exploit/multi/http/phpmyadmin_null_termination_exec |
| nuclei | scan-template | CVE-2016-5734 |
How to fix
Upgrade to a fixed version: phpmyadmin/phpmyadmin 4.0.10.16, 4.4.15.7, 4.6.3 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in phpmyadmin/phpmyadmin by 1cc7466db3, 4bcc606225. Functions changed by the fix: handleQuery, getTableDef, _getRegexReplaceRows. Regression tests: test/libraries/core/PMA_warnMissingExtension_test.php. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-07-03 | Published |
| 2022-05-17 | Package advisory GHSA-rv57-479x-x4qv |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 91.7% |
| 2026-11-30 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-rv57-479x-x4qv | phpmyadmin/phpmyadmin (Packagist) | 4.0.10.16 |
| GHSA-rv57-479x-x4qv | phpmyadmin/phpmyadmin (Packagist) | 4.4.15.7 |
| GHSA-rv57-479x-x4qv | phpmyadmin/phpmyadmin (Packagist) | 4.6.3 |
Also known as: GHSA-rv57-479x-x4qv
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-24530 | 2025-01-23 | 6.4 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2023-25727 | 2023-02-13 | 5.4 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-22452 | 2023-01-26 | 9.8 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2022-0813 | 2022-03-10 | 7.5 | PhpMyAdmin exposure of sensitive information |
| CVE-2022-23808 | 2022-01-22 | 6.1 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2022-23807 | 2022-01-22 | 4.3 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-26935 | 2020-10-10 | 9.8 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-26934 | 2020-10-10 | 6.1 | same package: phpmyadmin/phpmyadmin (Packagist) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-5734, or call /api/v1/vulnerabilities/CVE-2016-5734. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.