Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
PHPUnit versions before 8.5.52, 9.0.0 through 9.6.33, 10.0.0 through 10.5.62, 11.0.0 through 11.5.50, and 12.0.0 through 12.5.8 are affected. An attacker with local file write access to the location where PHPUnit expects code coverage files for PHPT tests can place a malicious serialized .coverage file, which is unsafely deserialized and may lead to arbitrary code execution when tests run with coverage enabled. Upgrade to 8.5.52, 9.6.33, 10.5.62, 11.5.50, or 12.5.8, depending on your major version.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.8 | High | 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0038, the 33rd percentile, on 13 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:25 UTC First seen by agentprime
- 31 Oct 2026, 14:25 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-vvj3-c3rp-c85p
- OSV: GHSA-vvj3-c3rp-c85p
- github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85p
- nvd.nist.gov/vuln/detail/CVE-2026-24765
- github.com/sebastianbergmann/phpunit/commit/3141742e00620e2968d3d2e732d320de76685fda
- github.com/sebastianbergmann/phpunit/commit/613d142f5a8471ca71623ce5ca2795f79248329e
- github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2026-24765.yaml
- github.com/sebastianbergmann/phpunit
- github.com/sebastianbergmann/phpunit/releases/tag/10.5.63
- github.com/sebastianbergmann/phpunit/releases/tag/11.5.50
- github.com/sebastianbergmann/phpunit/releases/tag/12.5.8
- github.com/sebastianbergmann/phpunit/releases/tag/8.5.52
- github.com/sebastianbergmann/phpunit/releases/tag/9.6.33
- lists.debian.org/debian-lts-announce/2026/02/msg00009.html