CVE-2026-24765
PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling
PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test. The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled. This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through CI/CD pipeline attacks, the local development environment, and/or compromised dependencies. Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition. Starting in versions in versions 12.5.8, 11.5.50, 10.5.62, 9.6.33, when a .coverage file is detected for a PHPT test prior to execution, PHPUnit will emit a clear error message identifying the anomalous state. Organizations can reduce the effective risk of this vulnerability through proper CI/CD configuration, including ephemeral runners, code review enforcement, branch protection, artifact isolation, and access control.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.8
PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling
PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test. The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled. This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through CI/CD pipeline attacks, the local development environment, and/or compromised dependencies. Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition. Starting in versions in versions 12.5.8, 11.5.50, 10.5.62, 9.6.33, when a .coverage file is detected for a PHPT test prior to execution, PHPUnit will emit a clear error message identifying the anomalous state. Organizations can reduce the effective risk of this vulnerability through proper CI/CD configuration, including ephemeral runners, code review enforcement, branch protection, artifact isolation, and access control.
- Record
CVE-2026-24765- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
EUVDEUVD-2026-4725
7.8
PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test. The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled. This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through CI/CD pipeline attacks, the local development environment, and/or compromised dependencies. Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition. Starting in versions in versions 12.5.8, 11.5.50, 10.5.62, 9.6.33, when a .coverage file is detected for a PHPT test prior to execution, PHPUnit will emit a clear error message identifying the anomalous state. Organizations can reduce the effective risk of this vulnerability through proper CI/CD configuration, including ephemeral runners, code review enforcement, branch protection, artifact isolation, and access control.
- Record
EUVD-2026-4725- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vvj3-c3rp-c85p
7.8
PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling
Overview
A vulnerability has been discovered involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test.
Technical Details
Affected Component: PHPT test runner, method cleanupForCoverage()
Affected Versions: <= 8.5.51, <= 9.6.32, <= 10.5.61, <= 11.5.49, <= 12.5.7
Vulnerable Code Pattern
if ($buffer !== false) {
// Unsafe call without restrictions
$coverage = @unserialize($buffer);
}
The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled.
Attack Prerequisites and Constraints
This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through:
- CI/CD Pipeline Attacks: A malicious pull request that places a
.coveragefile alongside test files, executed when the CI system runs tests using PHPUnit and collects code coverage information - Local Development Environment: An attacker with shell access or ability to write files to the project directory
- Compromised Dependencies: A supply chain attack inserting malicious files into a package or monorepo
Critical Context: Running test suites from unreviewed pull requests without isolated execution is inherently a code execution risk, independent of this specific vulnerability. This represents a broader class of Poisoned Pipeline Execution (PPE) attacks affecting CI/CD systems.
Proposed Remediation Approach
Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition.
Rationale for Error-Based Approach:
- Visibility Over Silence: When an invariant is violated (a
.coveragefile existing before test execution), the error must be visible in CI/CD output, alerting operators to investigate the root cause rather than proceeding with sanitized input - Operational Security: A
.coveragefile should never exist before tests run, coverage data is generated by executing tests, not sourced from artifacts. Its presence indicates:- A malicious actor placed it intentionally
- Build artifacts from a previous run contaminated the environment
- An unexpected filesystem state requiring investigation
- Defense-in-Depth Principle: Protecting a single deserialization call does not address the fundamental attack surface. Proper mitigations for PPE attacks lie outside PHPUnit's scope:
- Isolate CI/CD runners (ephemeral, containerized environments)
- Restrict code execution on protected branches
- Scan pull requests and artifacts for tampering
- Use branch protection rules to prevent unreviewed code execution
Severity Classification
- Attack Vector (AV): Local (L) — requires write access to the file system where tests execute
- Attack Complexity (AC): Low (L) — exploitation is straightforward once the malicious file is placed
- Privileges Required (PR): Low (L) — PR submitter status or contributor role provides sufficient access
- User Interaction (UI): None (N) — automatic execution during standard test execution
- Scope (S): Unchanged (U) — impact remains within the affected test execution context…
- Record
GHSA-vvj3-c3rp-c85p- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
NVD
7.8
PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test. The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled. This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through CI/CD pipeline attacks, the local development environment, and/or compromised dependencies. Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition. Starting in versions in versions 12.5.8, 11.5.50, 10.5.62, 9.6.33, when a .coverage file is detected for a PHPT test prior to execution, PHPUnit will emit a clear error message identifying the anomalous state. Organizations can reduce the effective risk of this vulnerability through proper CI/CD configuration, including ephemeral runners, code review enforcement, branch protection, artifact isolation, and access control.
- Record
CVE-2026-24765- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSV
7.8
PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling
PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test. The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled. This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through CI/CD pipeline attacks, the local development environment, and/or compromised dependencies. Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition. Starting in versions in versions 12.5.8, 11.5.50, 10.5.62, 9.6.33, when a .coverage file is detected for a PHPT test prior to execution, PHPUnit will emit a clear error message identifying the anomalous state. Organizations can reduce the effective risk of this vulnerability through proper CI/CD configuration, including ephemeral runners, code review enforcement, branch protection, artifact isolation, and access control.
- Record
CVE-2026-24765- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-24765
7.8
PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test. The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled. This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through CI/CD pipeline attacks, the local development environment, and/or compromised dependencies. Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition. Starting in versions in versions 12.5.8, 11.5.50, 10.5.62, 9.6.33, when a .coverage file is detected for a PHPT test prior to execution, PHPUnit will emit a clear error message identifying the anomalous state. Organizations can reduce the effective risk of this vulnerability through proper CI/CD configuration, including ephemeral runners, code review enforcement, branch protection, artifact isolation, and access control.
- Record
DEBIAN-CVE-2026-24765- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVGHSA-vvj3-c3rp-c85p
7.8
PHPUnit Vulnerable to Unsafe Deserialization in PHPT Code Coverage Handling
Overview
A vulnerability has been discovered involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test.
Technical Details
Affected Component: PHPT test runner, method cleanupForCoverage()
Affected Versions: <= 8.5.51, <= 9.6.32, <= 10.5.61, <= 11.5.49, <= 12.5.7
Vulnerable Code Pattern
if ($buffer !== false) {
// Unsafe call without restrictions
$coverage = @unserialize($buffer);
}
The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled.
Attack Prerequisites and Constraints
This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through:
- CI/CD Pipeline Attacks: A malicious pull request that places a
.coveragefile alongside test files, executed when the CI system runs tests using PHPUnit and collects code coverage information - Local Development Environment: An attacker with shell access or ability to write files to the project directory
- Compromised Dependencies: A supply chain attack inserting malicious files into a package or monorepo
Critical Context: Running test suites from unreviewed pull requests without isolated execution is inherently a code execution risk, independent of this specific vulnerability. This represents a broader class of Poisoned Pipeline Execution (PPE) attacks affecting CI/CD systems.
Proposed Remediation Approach
Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition.
Rationale for Error-Based Approach:
- Visibility Over Silence: When an invariant is violated (a
.coveragefile existing before test execution), the error must be visible in CI/CD output, alerting operators to investigate the root cause rather than proceeding with sanitized input - Operational Security: A
.coveragefile should never exist before tests run, coverage data is generated by executing tests, not sourced from artifacts. Its presence indicates:- A malicious actor placed it intentionally
- Build artifacts from a previous run contaminated the environment
- An unexpected filesystem state requiring investigation
- Defense-in-Depth Principle: Protecting a single deserialization call does not address the fundamental attack surface. Proper mitigations for PPE attacks lie outside PHPUnit's scope:
- Isolate CI/CD runners (ephemeral, containerized environments)
- Restrict code execution on protected branches
- Scan pull requests and artifacts for tampering
- Use branch protection rules to prevent unreviewed code execution
Severity Classification
- Attack Vector (AV): Local (L) — requires write access to the file system where tests execute
- Attack Complexity (AC): Low (L) — exploitation is straightforward once the malicious file is placed
- Privileges Required (PR): Low (L) — PR submitter status or contributor role provides sufficient access
- User Interaction (UI): None (N) — automatic execution during standard test execution
- Scope (S): Unchanged (U) — impact remains within the affected test execution context…
- Record
GHSA-vvj3-c3rp-c85p- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-24765
7.8
PHPUnit is a testing framework for PHP. A vulnerability has been discovered in versions prior to 12.5.8, 11.5.50, 10.5.62, 9.6.33, and 8.5.52 involving unsafe deserialization of code coverage data in PHPT test execution. The vulnerability exists in the cleanupForCoverage() method, which deserializes code coverage files without validation, potentially allowing remote code execution if malicious .coverage files are present prior to the execution of the PHPT test. The vulnerability occurs when a .coverage file, which should not exist before test execution, is deserialized without the allowed_classes parameter restriction. An attacker with local file write access can place a malicious serialized object with a __wakeup() method into the file system, leading to arbitrary code execution during test runs with code coverage instrumentation enabled. This vulnerability requires local file write access to the location where PHPUnit stores or expects code coverage files for PHPT tests. This can occur through CI/CD pipeline attacks, the local development environment, and/or compromised dependencies. Rather than just silently sanitizing the input via ['allowed_classes' => false], the maintainer has chosen to make the anomalous state explicit by treating pre-existing .coverage files for PHPT tests as an error condition. Starting in versions in versions 12.5.8, 11.5.50, 10.5.62, 9.6.33, when a .coverage file is detected for a PHPT test prior to execution, PHPUnit will emit a clear error message identifying the anomalous state. Organizations can reduce the effective risk of this vulnerability through proper CI/CD configuration, including ephemeral runners, code review enforcement, branch protection, artifact isolation, and access control.
- Record
UBUNTU-CVE-2026-24765- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1771980787 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 12.4.5-p1+tuxcare.
- Record
CLSA-2026-1771980787- Updated
- 2026-11-02
OSVCLSA-2026-1773276786 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 11.4.4-p1+tuxcare.
- Record
CLSA-2026-1773276786- Updated
- 2026-11-02
OSVCLSA-2026-1776732788 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 10.4.2-p1+tuxcare.
- Record
CLSA-2026-1776732788- Updated
- 2026-11-02
OSVCLSA-2026-1776818215 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 8.4.3-p1+tuxcare.
- Record
CLSA-2026-1776818215- Updated
- 2026-11-02
OSVCLSA-2026-1776818222 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 6.5.14-p1+tuxcare.
- Record
CLSA-2026-1776818222- Updated
- 2026-11-02
OSVCLSA-2026-1776818223 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 7.5.20-p1+tuxcare.
- Record
CLSA-2026-1776818223- Updated
- 2026-11-02
OSVCLSA-2026-1776819190 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 9.5.28-p1+tuxcare.
- Record
CLSA-2026-1776819190- Updated
- 2026-11-02
OSVCLSA-2026-1779151615 No score
TuxCare security update for phpunit/phpunit (1 CVE)
TuxCare rebuilt phpunit/phpunit to address 1 CVE. Fixed in 4.8.10-p1+tuxcare.
- Record
CLSA-2026-1779151615- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
phpunit/phpunitPackagist |
before 8.5.52 | 8.5.52 |
phpunit/phpunitPackagist |
9.0.0 up to 9.6.33 | 9.6.33 |
phpunit/phpunitPackagist |
10.0.0 up to 10.5.62 | 10.5.62 |
phpunit/phpunitPackagist |
11.0.0 up to 11.5.50 | 11.5.50 |
phpunit/phpunitPackagist |
12.0.0 up to 12.5.8 | 12.5.8 |
phpunit/phpunitTuxCare:Packagist |
12.4.5 up to 12.4.5-p1+tuxcare | 12.4.5-p1+tuxcare |
phpunit/phpunitTuxCare:Packagist |
11.4.4 up to 11.4.4-p1+tuxcare | 11.4.4-p1+tuxcare |
phpunit/phpunitTuxCare:Packagist |
10.4.2 up to 10.4.2-p1+tuxcare | 10.4.2-p1+tuxcare |
phpunit/phpunitTuxCare:Packagist |
8.4.3 up to 8.4.3-p1+tuxcare | 8.4.3-p1+tuxcare |
phpunit/phpunitTuxCare:Packagist |
6.5.14 up to 6.5.14-p1+tuxcare | 6.5.14-p1+tuxcare |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
phpunit/phpunitTuxCare:Packagist |
7.5.20 up to 7.5.20-p1+tuxcare | 7.5.20-p1+tuxcare |
phpunit/phpunitTuxCare:Packagist |
9.5.28 up to 9.5.28-p1+tuxcare | 9.5.28-p1+tuxcare |
phpunit/phpunitTuxCare:Packagist |
4.8.10 up to 4.8.10-p1+tuxcare | 4.8.10-p1+tuxcare |
phpunitDebian:12 |
before 9.6.7-1+deb12u1, plus listed versions 9.6.7-1 |
9.6.7-1+deb12u1 |
phpunitDebian:13 |
before 11.5.19-1+deb13u1, plus listed versions 11.5.19-1 |
11.5.19-1+deb13u1 |
phpunitDebian:14 |
before 12.5.8-1, plus listed versions 11.5.19-112.0.10-112.0.2-112.0.3-112.0.4-1 Show 42 moreShow less12.0.5-112.0.7-112.0.7-212.0.8-112.0.9-112.1.0-112.1.2-112.1.3-112.1.4-112.1.5-112.1.6-112.2.1-112.2.2-112.2.3-112.2.5-112.2.6-112.2.7-112.3.0-112.3.11-112.3.12-112.3.14-112.3.15-112.3.15-212.3.3-112.3.4-112.3.5-112.3.6-112.3.7-112.3.8-112.4.0-112.4.1-112.4.2-112.4.3-112.4.4-112.4.5-112.5.1-112.5.2-112.5.3-112.5.4-112.5.5-112.5.6-112.5.7-1 |
12.5.8-1 |
phpunitDebian:11 |
before 9.5.2-1+deb11u1, plus listed versions 9.5.2-1 |
9.5.2-1+deb11u1 |
phpunit/phpunitPackagist |
before 8.5.52, plus listed versions 3.7.03.7.13.7.103.7.113.7.12 Show 45 moreShow less3.7.133.7.143.7.153.7.163.7.173.7.183.7.193.7.23.7.203.7.213.7.223.7.233.7.243.7.253.7.263.7.273.7.283.7.293.7.33.7.303.7.313.7.323.7.333.7.343.7.353.7.363.7.373.7.383.7.43.7.53.7.63.7.73.7.83.7.94.0.04.0.14.0.104.0.114.0.124.0.134.0.144.0.154.0.164.0.174.0.18 |
8.5.52 |
phpunit/phpunitPackagist |
9.0.0 up to 9.6.33, plus listed versions 9.0.19.0.29.1.09.1.19.1.2 Show 45 moreShow less9.1.39.1.49.1.59.2.09.2.19.2.29.2.39.2.49.2.59.2.69.3.09.3.19.3.109.3.119.3.29.3.39.3.49.3.59.3.69.3.79.3.89.3.99.4.09.4.19.4.29.4.39.4.49.5.09.5.19.5.109.5.119.5.129.5.139.5.149.5.169.5.179.5.189.5.199.5.29.5.209.5.219.5.229.5.239.5.249.5.25 |
9.6.33 |
phpunit/phpunitPackagist |
10.0.0 up to 10.5.62, plus listed versions 10.0.110.0.1010.0.1110.0.1210.0.13 Show 45 moreShow less10.0.1410.0.1510.0.1610.0.1710.0.1810.0.1910.0.210.0.310.0.410.0.510.0.610.0.710.0.810.0.910.1.010.1.110.1.210.1.310.2.010.2.110.2.210.2.310.2.410.2.510.2.610.2.710.3.010.3.110.3.210.3.310.3.410.3.510.4.010.4.110.4.210.5.010.5.110.5.1010.5.1110.5.1210.5.1310.5.1410.5.1510.5.1610.5.17 |
10.5.62 |
phpunit/phpunitPackagist |
11.0.0 up to 11.5.50, plus listed versions 11.0.111.0.1011.0.211.0.311.0.4 Show 45 moreShow less11.0.511.0.611.0.711.0.811.0.911.1.011.1.111.1.211.1.311.2.011.2.111.2.211.2.311.2.411.2.511.2.611.2.711.2.811.2.911.3.011.3.111.3.211.3.311.3.411.3.511.3.611.4.011.4.111.4.211.4.311.4.411.5.011.5.111.5.1011.5.1111.5.1211.5.1311.5.1411.5.1511.5.1611.5.1711.5.1811.5.1911.5.211.5.20 |
11.5.50 |
phpunit/phpunitPackagist |
12.0.0 up to 12.5.8, plus listed versions 12.0.112.0.1012.0.212.0.312.0.4 Show 45 moreShow less12.0.512.0.612.0.712.0.812.0.912.1.012.1.112.1.212.1.312.1.412.1.512.1.612.2.012.2.112.2.212.2.312.2.412.2.512.2.612.2.712.2.812.2.912.3.012.3.112.3.1012.3.1112.3.1212.3.1312.3.1412.3.1512.3.212.3.312.3.412.3.512.3.612.3.712.3.812.3.912.4.012.4.112.4.212.4.312.4.412.4.512.5.0 |
12.5.8 |
phpunitUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 4.7.6-14.8.16-15.1.3-1ubuntu15.1.3-1+build15.1.3-1+ubuntu15.1.3-1+ubuntu35.1.3-1+ubuntu3+esm1 |
None known |
phpunitUbuntu:18.04:LTS |
All versions, plus listed versions 5.4.6-25.4.6-36.5.5-1ubuntu2 |
None known |
phpunitUbuntu:20.04:LTS |
All versions, plus listed versions 7.5.6-18.5.2-1ubuntu1 |
None known |
phpunitUbuntu:22.04:LTS |
All versions, plus listed versions 9.5.4-19.5.10-1ubuntu2 |
None known |
phpunitUbuntu:24.04:LTS |
All versions, plus listed versions 9.6.10-19.6.13-19.6.15-19.6.16-19.6.17-1 |
None known |
phpunitUbuntu:25.10 |
All versions, plus listed versions 11.5.3-1ubuntu411.5.19-1build4 |
None known |
phpunitUbuntu:26.10 |
All versions, plus listed versions 13.0.0-2ubuntu613.2.6+ds-1 |
None known |
phpunitUbuntu:26.04:LTS |
All versions, plus listed versions 11.5.19-1build413.0.0-2ubuntu6 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-24765 is a high vulnerability (CVSS 7.8) in Phpunit Project Phpunit, published January 27, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.38%, the 32nd percentile. Fixed in phpunit/phpunit 8.5.52.
References
github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85p
github.com/sebastianbergmann/phpunit/commit/3141742e00620e2968d3d2e732d320de76685fda
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
Show 12 moreShow less
github.com/sebastianbergmann/phpunit/releases/tag/9.6.33
lists.debian.org/debian-lts-announce/2026/02/msg00009.html
github.com/sebastianbergmann/phpunit/commit/613d142f5a8471ca71623ce5ca2795f79248329e
owasp.org/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution
nvd.nist.gov/vuln/detail/CVE-2026-24765
github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2026-24765.yaml
github.com/advisories/GHSA-vvj3-c3rp-c85p
github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24765.json
security-tracker.debian.org/tracker/CVE-2026-24765
github.com/sebastianbergmann/phpunit
ubuntu.com/security/CVE-2026-24765
cve.org/CVERecord?id=CVE-2026-24765
Left out here: 503 versions and the rest of 2 source descriptions. The JSON record has them.