CVE-2016-2041 · mitre
CVE-2016-2041
libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 does not use a constant-time algorithm for comparing CSRF tokens, which makes it easier for remote attackers to bypass intended access restrictions by measuring time differences.
Published 2016-02-20, last changed 2026-06-17. Weakness: CWE-254.
How to fix
Upgrade to a fixed version: phpmyadmin/phpmyadmin 4.0.10.13, 4.4.15.3, 4.5.4 (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 ec0e88e37e. Functions changed by the fix: hash_equals. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2016-02-20 | Published |
| 2022-05-14 | Package advisory GHSA-8m97-xc46-rw9w |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.58% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-8m97-xc46-rw9w | phpmyadmin/phpmyadmin (Packagist) | 4.0.10.13 |
| GHSA-8m97-xc46-rw9w | phpmyadmin/phpmyadmin (Packagist) | 4.4.15.3 |
| GHSA-8m97-xc46-rw9w | phpmyadmin/phpmyadmin (Packagist) | 4.5.4 |
Also known as: GHSA-8m97-xc46-rw9w
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2025-24530 | 2025-01-23 | 6.4 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2023-25727 | 2023-02-13 | 5.4 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-22452 | 2023-01-26 | 9.8 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2022-0813 | 2022-03-10 | 7.5 | PhpMyAdmin exposure of sensitive information |
| CVE-2022-23808 | 2022-01-22 | 6.1 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2022-23807 | 2022-01-22 | 4.3 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-26935 | 2020-10-10 | 9.8 | same package: phpmyadmin/phpmyadmin (Packagist) |
| CVE-2020-26934 | 2020-10-10 | 6.1 | same 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-2041, or call /api/v1/vulnerabilities/CVE-2016-2041. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.