Home / mailingsPDF  

[USN-9333-1] PHPUnit vulnerability

Posted on 02 December 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9333-1
December 01, 2026

phpunit vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

PHPUnit could be made to run programs as your login if it opened a
specially crafted file.

Software Description:
- phpunit: Unit testing suite for PHP

Details:

It was discovered that PHPUnit deserialized code coverage files without
validation when running PHPT tests with code coverage enabled. A local
attacker able to write files where PHPUnit stores code coverage data could
possibly use this issue to execute arbitrary code.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
phpunit 9.6.17-1ubuntu0.1~esm1
Available with Ubuntu Pro

Ubuntu 22.04 LTS
phpunit 9.5.10-1ubuntu2+esm1
Available with Ubuntu Pro

Ubuntu 20.04 LTS
phpunit 8.5.2-1ubuntu1+esm1
Available with Ubuntu Pro

Ubuntu 18.04 LTS
phpunit 6.5.5-1ubuntu2+esm1
Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-9333-1
CVE-2026-24765

--===============0820912293287491449==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP