phpunit/phpunit (packagist) has 5 known vulnerabilities, the worst rated CRITICAL. Upgrade to 13.4.4 or later to clear all of them. No malicious-package signal is recorded.
CRITICALGitHub ratingexploited in the wildCVE-2017-9841
Util/PHP/eval-stdin.php in PHPUnit starting with 4.8.19 and before 4.8.28, as well as 5.x before 5.6.3, allows remote attackers to execute arbitrary PHP code…
CyberXYZ does not call a package safe in absolute terms. It records 5 known vulnerabilities for phpunit/phpunit (packagist), the worst rated CRITICAL, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Does phpunit/phpunit have known vulnerabilities?
Yes. CyberXYZ records 5 known vulnerabilities for phpunit/phpunit (packagist), the worst rated CRITICAL. They are GHSA-r7c9-c69m-rph8, GHSA-mh6w-vxff-9wqp, GHSA-qrr6-mg7r-m243, GHSA-vvj3-c3rp-c85p, GHSA-9vw2-f4vp-x7gf.
Which version of phpunit/phpunit should I use?
13.4.4 or later clears every advisory recorded for phpunit/phpunit (packagist). Check the release you pick before installing it.
How do I check phpunit/phpunit before installing?
Search phpunit/phpunit in CyberXYZ Check at https://cyberxyz.io/check?q=phpunit%2Fphpunit. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-24 at 07:12 UTC. The most recent advisory here was published 2026-10-30. Updated continuously from NVD, GHSA, OSV and CNA feeds.