BreachSpiderVerified, not vibes

CVE-2016-5734 in Phpmyadmin

Critical 9.8 Public exploit reported

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.09.8
EPSS91.7%
EPSS percentile100th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Phpmyadmin Phpmyadmin 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.4.1
+50 more4.0.4.2 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.0.10 4.0.10.1 4.0.10.2 4.0.10.3 4.0.10.4 4.0.10.5 4.0.10.6 4.0.10.7 4.0.10.8 4.0.10.9 4.0.10.10 4.0.10.11 4.0.10.12 4.0.10.13 4.0.10.14 4.0.10.15 4.4.0 4.4.1 4.4.1.1 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.6.1 4.4.7 4.4.8 4.4.9 4.4.10 4.4.11 4.4.12 4.4.13 4.4.13.1 4.4.14.1 4.4.15 4.4.15.1 4.4.15.2 4.4.15.3 4.4.15.4 4.4.15.5 4.4.15.6 4.6.0 4.6.1 4.6.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2016-5734
BreachSpider IDBS-2016-GLOBAL-190795-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2016-07-03
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-94: Code Injection

Attacker injects arbitrary code that is executed by the application process.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94

CAPEC-77 Manipulating User-Controlled Variables via CWE-94

CAPEC-242 Code Injection via CWE-94

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical vulnerability in phpMyAdmin versions 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 allows remote attackers to execute arbitrary PHP code due to improper delimiter selection in the preg_replace function.

The vulnerability arises from the use of the preg_replace function with the 'e' modifier, which allows for the execution of PHP code. An attacker can craft a specific string input in the table search-and-replace feature to exploit this vulnerability and execute arbitrary PHP code on the server.

Questions

What is CVE-2016-5734?

A critical vulnerability in phpMyAdmin versions 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 allows remote attackers to execute arbitrary PHP code due to improper delimiter selection in the preg_replace function.

What is the CVSS score for CVE-2016-5734?

CVE-2016-5734 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 91.7%.

Is CVE-2016-5734 actively exploited?

Public exploit available for CVE-2016-5734. Exploitation risk elevated.

How do I remediate CVE-2016-5734?

Priority: IMMEDIATE. Advisory: https://www.phpmyadmin.net/security/PMASA-2016-27/ PSIRT: [email protected]

What systems are affected by CVE-2016-5734?

CVE-2016-5734 affects Phpmyadmin Phpmyadmin.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Phpmyadmin","product":"Phpmyadmin","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.