CVE-2016-5734 in the critical feed json
phpMyAdmin Code Injection vulnerability
published 2016-07-03 10 y ago modified 2026-06-17 4 mo ago also GHSA-rv57-479x-x4qv , EUVD-2016-6669
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 80.9%
- EPSS 80.9% chance of exploitation in 30 days, percentile 99.6%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- packagist phpmyadmin/phpmyadmin 4.0.10.16, 4.4.15.7, 4.6.3
- phpmyadmin Debian 14, Debian 13, Debian 12 4:4.6.3-1
debian advisories DEBIAN-CVE-2016-5734
- phpMyAdmin openSUSE Tumbleweed 4.6.5.2-1.1
opensuse advisories openSUSE-SU-2024:10054-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-5734 updated
phpMyAdmin: 4.6.3, 4.4.15.7 and 4.0.10.16 security releases
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/multi/http/phpmyadmin_null_termination_exec)
- Published
Exploit prediction
80.94% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/http/phpmyadmin_null_termination_exec phpMyAdmin Authenticated Remote Code Execution metasploit exploit, excellent rank, 2016-06-23
- EDB-40185 phpMyAdmin 4.6.2 - (Authenticated) Remote Code Execution webapps, 2016-07-29
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmyadmin/phpmyadmin | >=4.0.10.0, <4.0.10.16 >=4.4.15.0, <4.4.15.7 >=4.6.0, <4.6.3 |
4.0.10.16 4.4.15.7 4.6.3 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7
web, patch
-
github.com
/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b
web, patch
-
phpmyadmin.net
/security/PMASA-2016-27/
patch, vendor-advisory
-
exploit-db.com
/exploits/40185/
exploit, third-party-advisory, vdb-entry
-
security.gentoo.org
/glsa/201701-32
vendor-advisory, web
-
securityfocus.com
/bid/91387
vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2016-5734
advisory
-
github.com
/phpmyadmin/phpmyadmin
package
-
web.archive.org
/web/20200227223418/http://www.securityfocus.com/bid/91387
web
-
exploit-db.com
/exploits/40185
web
-
phpmyadmin.net
/security/PMASA-2016-27
web
Sources
- CVE List CVE-2016-5734
- GitHub Advisory GHSA-rv57-479x-x4qv
- NVD CVE-2016-5734
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.