CVE-2026-24765: debian debian_linux Deserialization of Untrusted Data
Vulnerability summary
CVE-2026-24765 is a high (CVSS 7.8) Deserialization of Untrusted Data vulnerability in debian debian_linux. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.6% of scored vulnerabilities.
Timeline
- 27-01-2026PublishedVulnerability first disclosed.
- 06-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
+0.03 pp
From 0.36% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- phpunit< 9.6.7-1+deb12u1 | < 11.5.19-1+deb13u1 | < 12.5.8-1 | < 9.5.2-1+deb11u1
- debian_linuxEOL11.0
Phpunit_project1 product
- phpunit< 8.5.52 | ≥ 9.0.0, < 9.6.33 | ≥ 10.0.0, < 10.5.62 | ≥ 11.0.0, < 11.5.50 | ≥ 12.0.0, < 12.5.8
Sebastianbergmann1 product
- phpunit< 8.5.52 | ≥ 9.0.0, < 9.6.33 | ≥ 10.0.0, < 10.5.62 | ≥ 11.0.0, < 11.5.50 | ≥ 12.0.0, < 12.5.8
Ubuntu1 product
- phpunitAll versions (No fix recorded)
4 vendors · 5 products
References
11 links- github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85pX Refsource CONFIRMREPORTMitigationVendor Advisory
- github.com/sebastianbergmann/phpunit/commit/3141742e00620e2968d3d2e732d320de76685fdaX Refsource MISCREPORTPatch