CVE-2013-3238
phpMyAdmin Remote Code Execution
Also known as CVE-2013-3239, CVE-2013-3240, CVE-2013-3241, EDB-25003, EDB-25136, GHSA-gg36-9346-9qx9
Mitigation
- Upgrade phpmyadmin/phpmyadmin to 3.5.8.1 or later.
Who should check
- Projects that depend on Packagist package phpmyadmin/phpmyadmin (>= 3.5.0, < 3.5.8.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- phpmyadmin/phpmyadmin >= 3.5.0, < 3.5.8.1
- Fixed in
- 3.5.8.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.0 (v2.0, NVD)AV:N/AC:M/Au:S/C:P/I:P/A:P
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: Single
- Confidentiality impact: Partial
- Integrity impact: Partial
- Availability impact: Partial
- EPSS
- 28.85% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-94
- Modified
Description
phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3 allows remote authenticated users to execute arbitrary code via a /e\x00 sequence, which is not properly handled before making a preg_replace function call within the "Replace table prefix" feature.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist phpmyadmin/phpmyadmin | >= 3.5.0, < 3.5.8.1 | 3.5.8.1 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2013-3238. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2013-3238.md Affected: phpmyadmin/phpmyadmin >= 3.5.0, < 3.5.8.1 Fixed in: 3.5.8.1 Steps: 1. Search this machine and project for phpmyadmin/phpmyadmin (Packagist), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:160
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104936.html
- http://lists.opensuse.org/opensuse-updates/2013-06/msg00181.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104770.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-May/104725.html
- http://www.phpmyadmin.net/home_page/security/PMASA-2013-5.php
- http://www.phpmyadmin.net/home_page/security/PMASA-2013-3.php
- https://nvd.nist.gov/vuln/detail/CVE-2013-3239
Patches
- https://github.com/phpmyadmin/phpmyadmin/commit/ffa720d90a79c1f33cf4c5a33403d09a67b42a66
- https://github.com/phpmyadmin/phpmyadmin/commit/dedd542cdaf1606ca9aa3f6f8f8adb078d8ad549
- https://github.com/phpmyadmin/phpmyadmin/commit/1f6bc0b707002e26cab216b9e57b4d5de764de48
- https://github.com/phpmyadmin/phpmyadmin/commit/d3fafdfba0807068196655e9b6d16c5d1d3ccf8a
Exploits and PoCs
FAQ
Is CVE-2013-3238 being exploited?
There is no confirmed exploitation: CVE-2013-3238 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 28.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2013-3238?
Medium: CVSS 6.0 (v2.0, scored by NVD). Remote, login needed.
Which versions are affected by CVE-2013-3238?
phpmyadmin/phpmyadmin >= 3.5.0, < 3.5.8.1.
Is there a fix for CVE-2013-3238?
Yes. Fixed in 3.5.8.1. Upgrade phpmyadmin/phpmyadmin to 3.5.8.1 or later.
How do I check if I'm affected by CVE-2013-3238?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.