Skip to main content
VulnerabilityPublished

CVE-2026-24765: phpunit vulnerability

Affects phpunitSource GCVE Database

0
Compare
Authoritative record:CVE-2026-24765· High 7.8

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu Pro 18.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <6.5.5-1ubuntu2+esm1
Fixed in
  • 6.5.5-1ubuntu2+esm1
Ubuntu Pro 20.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/focalOther threatsAffected
  • <8.5.2-1ubuntu1+esm1
Fixed in
  • 8.5.2-1ubuntu1+esm1
Ubuntu Pro 22.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <9.5.10-1ubuntu2+esm1
Fixed in
  • 9.5.10-1ubuntu2+esm1
Ubuntu Pro 24.04 LTSphpunitpkg:deb/ubuntu/phpunit?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <9.6.17-1ubuntu0.1~esm1
Fixed in
  • 9.6.17-1ubuntu0.1~esm1
Packagistphpunit/phpunitpkg:composer/phpunit/phpunitOther threatsAffected
  • <8.5.52
Fixed in
  • 8.5.52
Packagistphpunit/phpunitpkg:composer/phpunit/phpunitOther threatsAffected
  • 9.0.0 – 9.6.32
  • >=9.0.0 <9.6.33
94 affected builds
Fixed in
  • 9.6.33

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.

References

Community reviews

Loading reviews…