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 p
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
- Jul 2, 2016
- Updated
- Jun 16, 2026
- EPSS
- 81.4% · 100th percentile
- CWE
- CWE-94
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
63
This week
Don’t wait for the next maintenance window.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 24 / 30 · 81.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| phpmyadmin | phpmyadmin | cpe:2.3:a:phpmyadmin:phpmyadmin |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- phpmyadmin phpmyadmin4.0.0
- phpmyadmin phpmyadmin4.0.1
- phpmyadmin phpmyadmin4.0.10
- phpmyadmin phpmyadmin4.0.10.1
- phpmyadmin phpmyadmin4.0.10.10
- phpmyadmin phpmyadmin4.0.10.11
- phpmyadmin phpmyadmin4.0.10.12
- phpmyadmin phpmyadmin4.0.10.13
- phpmyadmin phpmyadmin4.0.10.14
- phpmyadmin phpmyadmin4.0.10.15
- phpmyadmin phpmyadmin4.0.10.2
- phpmyadmin phpmyadmin4.0.10.3
- phpmyadmin phpmyadmin4.0.10.4
- phpmyadmin phpmyadmin4.0.10.5
- phpmyadmin phpmyadmin4.0.10.6
- phpmyadmin phpmyadmin4.0.10.7
- phpmyadmin phpmyadmin4.0.10.8
- phpmyadmin phpmyadmin4.0.10.9
- phpmyadmin phpmyadmin4.0.2
- phpmyadmin phpmyadmin4.0.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | phpmyadmin | before 4:4.6.3-1 | 4:4.6.3-1 |
| Packagist | phpmyadmin/phpmyadmin | from 4.0.10.0 · before 4.0.10.16 | 4.0.10.16 |
| Packagist | phpmyadmin/phpmyadmin | from 4.4.15.0 · before 4.4.15.7 | 4.4.15.7 |
| Packagist | phpmyadmin/phpmyadmin | from 4.6.0 · before 4.6.3 | 4.6.3 |
Same product
phpmyadmin: all recordsOther highest-scoring records for the same primary product.
- CVE-2009-1151Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 allows remote attackers to injeKEV98Now
- CVE-2018-12613An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the serve65This week
- CVE-2020-26935An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3.59Plan
- CVE-2012-5159phpMyAdmin 3.5.2.2, as distributed by the cdnetworks-kr-1 mirror during an unspecified time frame in 2012, contains an externally introduced52Plan
- CVE-2020-5504In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page.47Plan
- CVE-2004-1147phpMyAdmin 2.6.0-pl2, and other versions before 2.6.1, with external transformations enabled, allows remote attackers to execute arbitrary c43Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:phpmyadmin | 4:4.6.3-1 · Debian:12 | Package registry (OSV) |
| Packagist:phpmyadmin/phpmyadmin | 4.0.10.16 | Package registry (OSV) |
| Packagist:phpmyadmin/phpmyadmin | 4.4.15.7 | Package registry (OSV) |
| Packagist:phpmyadmin/phpmyadmin | 4.6.3 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×1
- Proof-of-concept repository on GitHub ×3
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2016-07-29 |
| Metasploit module | exploit/multi/http/phpmyadmin_null_termination_execphpMyAdmin Authenticated Remote Code Executionexploit | 2016-06-23 |
| Proof-of-concept repository on GitHub | stars:0 | 2016-07-08 |
| Proof-of-concept repository on GitHub | stars:0 | 2020-05-22 |
| Proof-of-concept repository on GitHub | stars:1 | 2022-09-10 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-10 d
- Published
- First PoC+5 d
- TodaySep 30, 2026+3741 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.securityfocus.com/bid/91387
- github.com/phpmyadmin/phpmyadmin/commit/1cc7466db3a05e95fe57a6702f41773e6829d54b
- github.com/phpmyadmin/phpmyadmin/commit/4bcc606225f15bac0b07780e74f667f6ac283da7
- security.gentoo.org/glsa/201701-32
- www.phpmyadmin.net/security/PMASA-2016-27/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.