CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in phpunit/phpunit 10.5.62, 11.5.50, 12.5.8.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hphpunit/phpunit (Packagist): fixed in 8.5.52, 9.6.33, 10.5.62, 11.5.50, 12.5.8Explain CVE-2026-24765 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-24765?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-24765?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-24765 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| phpunit_project:phpunit | before 8.5.52 |
| phpunit_project:phpunit | from 9.0.0 before 9.6.33 |
| phpunit_project:phpunit | from 10.0.0 before 10.5.62 |
| phpunit_project:phpunit | from 11.0.0 before 11.5.50 |
| phpunit_project:phpunit | from 12.0.0 before 12.5.8 |
| debian:debian_linux | 11.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vvj3-c3rp-c85p | Packagist | phpunit/phpunit | <8.5.52 | 8.5.52 |
| GHSA-vvj3-c3rp-c85p | Packagist | phpunit/phpunit | >=9.0.0 <9.6.33 | 9.6.33 |
| GHSA-vvj3-c3rp-c85p | Packagist | phpunit/phpunit | >=10.0.0 <10.5.62 | 10.5.62 |
| GHSA-vvj3-c3rp-c85p | Packagist | phpunit/phpunit | >=11.0.0 <11.5.50 | 11.5.50 |
| GHSA-vvj3-c3rp-c85p | Packagist | phpunit/phpunit | >=12.0.0 <12.5.8 | 12.5.8 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | phpunit | 9.5.2-1+deb11u1 | DLA-4470-1 |
| Debian | 12 | phpunit | 9.6.7-1+deb12u1 | DEBIAN-CVE-2026-24765 |
| Debian | 13 | phpunit | 11.5.19-1+deb13u1 | DEBIAN-CVE-2026-24765 |
| Debian | 14 | phpunit | 12.5.8-1 | DEBIAN-CVE-2026-24765 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 5 more | phpunit | no fix listed | UBUNTU-CVE-2026-24765 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This is an IMPORTANT vulnerability in PHPUnit that allows arbitrary code execution. It requires an attacker to have local file write access to the system where PHPUnit tests are executed with code coverage instrumentation enabled. This typically impacts development and CI/CD environments, where malicious `.coverage` files could be introduced.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-24765.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.