CVE-2026-24765: phpunit vulnerability
Affects phpunitSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.5.5-1ubuntu2+esm1 : patch phpunit soon.
Data as of 2 Dec 2026, 03:03 UTC
- Patch
- Available – fixed in 6.5.5-1ubuntu2+esm1, 8.5.2-1ubuntu1+esm1, 9.5.10-1ubuntu2+esm1 +6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 18.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 24.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Packagistphpunit/phpunitpkg:composer/phpunit/phpunitOther threats | Affected
| Fixed in
|
Packagistphpunit/phpunitpkg:composer/phpunit/phpunitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and users should update PHPUnit to the fixed package versions provided by Ubuntu Pro ESM for their respective Ubuntu LTS releases. A standard system update applying these package versions will remediate the issue. No additional mitigation is required beyond applying the official updates.
Description
A vulnerability in PHPUnit allows deserialization of unvalidated code coverage files when running PHPT tests with code coverage enabled. A local attacker who can write files to the location where PHPUnit stores code coverage data may exploit this to execute arbitrary code. Fixes are available in updated package versions for multiple Ubuntu LTS releases.