7.8

CVE-2026-24765: debian debian_linux Deserialization of Untrusted Data

CVSS: 7.8v3.1HighAnalyzed
AliasesUBUNTU-CVE-2026-24765DEBIAN-CVE-2026-24765DLA-4470-1
Published 27-01-2026Last modified 06-02-2026

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.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.39%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 27-01-2026
    PublishedVulnerability first disclosed.
  2. 06-02-2026
    Last 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

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

19-09-202619-10-2026
EPSS score
0.39%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
Show all 11 references