KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from NVD
EPSS
91.7%
percentile 99.8%, chance of exploitation in 30 days
Exploitation
Public exploit
3 public references

Public exploits

SourceKindReference
exploit-dbproof-of-conceptEDB-40185
metasploitexploit-moduleexploit/multi/http/phpmyadmin_null_termination_exec
nucleiscan-templateCVE-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-03Published
2022-05-17Package advisory GHSA-rv57-479x-x4qv
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 91.7%
2026-11-30Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-rv57-479x-x4qvphpmyadmin/phpmyadmin (Packagist)4.0.10.16
GHSA-rv57-479x-x4qvphpmyadmin/phpmyadmin (Packagist)4.4.15.7
GHSA-rv57-479x-x4qvphpmyadmin/phpmyadmin (Packagist)4.6.3

Also known as: GHSA-rv57-479x-x4qv

Related

CVEPublishedCVSSSummary
CVE-2025-245302025-01-236.4same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2023-257272023-02-135.4same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-224522023-01-269.8same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2022-08132022-03-107.5PhpMyAdmin exposure of sensitive information
CVE-2022-238082022-01-226.1same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2022-238072022-01-224.3same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-269352020-10-109.8same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-269342020-10-106.1same 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.

NVD · CVE.org