Description
The suggestPassword function in js/functions.js 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 relies on the Math.random JavaScript function, which makes it easier for remote attackers to guess passwords via a brute-force approach.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phpmyadmin | 4:4.5.4-1 | — |
| Debian 13 | phpmyadmin | 4:4.5.4-1 | — |
| Debian 12 | phpmyadmin | 4:4.5.4-1 | — |
| Debian 8 | phpmyadmin | 4:4.2.12-2+deb8u2 | DSA-3627-1 |
| Debian 7 | phpmyadmin | 4:3.4.11.1-2+deb7u3 | DLA-481-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | phpmyadmin | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | phpMyAdmin | 4.6.5.2-1.1 | openSUSE-SU-2024:10054-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.0.0, < 4.0.10.13 | 4.0.10.13 | GHSA-4gmg-gwjh-3mmr |
| Packagist | phpmyadmin/phpmyadmin | >= 4.4.0, < 4.4.15.3 | 4.4.15.3 | GHSA-4gmg-gwjh-3mmr |
| Packagist | phpmyadmin/phpmyadmin | >= 4.5.0, < 4.5.4 | 4.5.4 | GHSA-4gmg-gwjh-3mmr |
Advisories 3
- DLA-481-1 phpmyadmin - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3627-1 phpmyadmin - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10054-1 phpMyAdmin-4.6.5.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://www.phpmyadmin.net/home_page/security/PMASA-2016-4.php
- openSUSE-SU-2016:0378 vendor-advisory
- DSA-3627 vendor-advisory
- openSUSE-SU-2016:0357 vendor-advisory
- https://github.com/phpmyadmin/phpmyadmin/commit/8dedcc1a175eb07debd4fe116407c43694c60b22
- https://github.com/phpmyadmin/phpmyadmin/commit/912856b432d794201884c36e5f390d446339b6e4
- FEDORA-2016-e55278763e vendor-advisory
- FEDORA-2016-e1fe01e96e vendor-advisory