CISA list

● Composer package

phpunit/phpunit

Phpunit/phpunit has five security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest release any of them names as the fix is 13.4.4.

As of , phpunit/phpunit has five security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest release any of them names as the fix is 13.4.4.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 13.4.0 before 13.4.413.4.41 advisory
From 13.1.5 before 13.1.613.1.62 advisories
From 12.5.21 before 12.5.2212.5.222 advisories
From 12.0.0 before 12.5.812.5.81 advisory
From 11.0.0 before 11.5.5011.5.501 advisory
From 10.0.0 before 10.5.6210.5.621 advisory
From 9.0.0 before 9.6.339.6.331 advisory
Before 8.5.528.5.522 advisoriesOne is on CISA's list

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-119193GHSA-9vw2-f4vp-x7gfPHPUnit vulnerable to code execution by other local users via shared temporary directory in PHPT code coverage handlingModerate severityFrom 13.4.0 before 13.4.413.4.4
GHSA-mh6w-vxff-9wqpPHPUnit: Argument injection via newline in PHP INI values forwarded to child processesHigh severityFrom 13.1.5 before 13.1.6; From 12.5.21 before 12.5.2212.5.22, 13.1.6
CVE-2026-41570GHSA-qrr6-mg7r-m243PHPUnit has Argument injection via newline in PHP INI values that are forwarded to child processesHigh severityFrom 13.1.5 before 13.1.6; From 12.5.21 before 12.5.2212.5.22, 13.1.6
CVE-2026-24765GHSA-vvj3-c3rp-c85pPHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage HandlingHigh severityFrom 12.0.0 before 12.5.8; From 11.0.0 before 11.5.50; From 10.0.0 before 10.5.62; From 9.0.0 before 9.6.33; Before 8.5.528.5.52, 9.6.33, 10.5.62, 11.5.50, 12.5.8
CVE-2017-9841GHSA-r7c9-c69m-rph8On CISA's list: CVE-2017-9841Code Injection in PHPUnitCritical severityFrom 5.0.10 before 5.6.3; From 4.8.19 before 4.8.284.8.28, 5.6.3

Other Composer packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0