Lookup for vulnerable packages by Package URL.

Purlpkg:composer/phpunit/phpunit@6.5.13
Typecomposer
Namespacephpunit
Namephpunit
Version6.5.13
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version8.5.52
Latest_non_vulnerable_version13.1.6
Affected_by_vulnerabilities
0
url VCID-d3w8-fejp-rycq
vulnerability_id VCID-d3w8-fejp-rycq
summary 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.
references
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-24765.json
reference_id
reference_type
scores
0
value 7.8
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-24765.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-24765
reference_id
reference_type
scores
0
value 0.00236
scoring_system epss
scoring_elements 0.46881
published_at 2026-06-14T12:55:00Z
1
value 0.00236
scoring_system epss
scoring_elements 0.469
published_at 2026-06-13T12:55:00Z
2
value 0.00236
scoring_system epss
scoring_elements 0.46886
published_at 2026-06-12T12:55:00Z
3
value 0.00236
scoring_system epss
scoring_elements 0.46744
published_at 2026-06-11T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-24765
2
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-24765
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-24765
3
reference_url https://github.com/sebastianbergmann/phpunit
reference_id
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/sebastianbergmann/phpunit
4
reference_url https://github.com/sebastianbergmann/phpunit/commit/613d142f5a8471ca71623ce5ca2795f79248329e
reference_id
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/sebastianbergmann/phpunit/commit/613d142f5a8471ca71623ce5ca2795f79248329e
5
reference_url https://lists.debian.org/debian-lts-announce/2026/02/msg00009.html
reference_id
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://lists.debian.org/debian-lts-announce/2026/02/msg00009.html
6
reference_url https://owasp.org/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution
reference_id
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://owasp.org/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution
7
reference_url https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.63
reference_id 10.5.63
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-01-28T21:13:53Z/
url https://github.com/sebastianbergmann/phpunit/releases/tag/10.5.63
8
reference_url https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.50
reference_id 11.5.50
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-01-28T21:13:53Z/
url https://github.com/sebastianbergmann/phpunit/releases/tag/11.5.50
9
reference_url https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.8
reference_id 12.5.8
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-01-28T21:13:53Z/
url https://github.com/sebastianbergmann/phpunit/releases/tag/12.5.8
10
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=2433606
reference_id 2433606
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=2433606
11
reference_url https://github.com/sebastianbergmann/phpunit/commit/3141742e00620e2968d3d2e732d320de76685fda
reference_id 3141742e00620e2968d3d2e732d320de76685fda
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-01-28T21:13:53Z/
url https://github.com/sebastianbergmann/phpunit/commit/3141742e00620e2968d3d2e732d320de76685fda
12
reference_url https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.52
reference_id 8.5.52
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-01-28T21:13:53Z/
url https://github.com/sebastianbergmann/phpunit/releases/tag/8.5.52
13
reference_url https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.33
reference_id 9.6.33
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-01-28T21:13:53Z/
url https://github.com/sebastianbergmann/phpunit/releases/tag/9.6.33
14
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-24765
reference_id CVE-2026-24765
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-24765
15
reference_url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2026-24765.yaml
reference_id CVE-2026-24765.YAML
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/FriendsOfPHP/security-advisories/blob/master/phpunit/phpunit/CVE-2026-24765.yaml
16
reference_url https://github.com/advisories/GHSA-vvj3-c3rp-c85p
reference_id GHSA-vvj3-c3rp-c85p
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-vvj3-c3rp-c85p
17
reference_url https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85p
reference_id GHSA-vvj3-c3rp-c85p
reference_type
scores
0
value 7.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-01-28T21:13:53Z/
url https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85p
fixed_packages
0
url pkg:composer/phpunit/phpunit@8.5.52
purl pkg:composer/phpunit/phpunit@8.5.52
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@8.5.52
1
url pkg:composer/phpunit/phpunit@9.6.33
purl pkg:composer/phpunit/phpunit@9.6.33
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@9.6.33
2
url pkg:composer/phpunit/phpunit@10.5.62
purl pkg:composer/phpunit/phpunit@10.5.62
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@10.5.62
3
url pkg:composer/phpunit/phpunit@11.5.50
purl pkg:composer/phpunit/phpunit@11.5.50
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@11.5.50
4
url pkg:composer/phpunit/phpunit@12.5.8
purl pkg:composer/phpunit/phpunit@12.5.8
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@12.5.8
aliases CVE-2026-24765, GHSA-vvj3-c3rp-c85p
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-d3w8-fejp-rycq
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:composer/phpunit/phpunit@6.5.13