Back
CVE-2025-2690
yiisoft Yii2 MockClass.php generate deserialization
Medium5.3EPSS 0.68%
- Published
- Updated
- Reserved
- Assigned by
- VulDB
Description
A vulnerability, which was classified as critical, was found in yiisoft Yii2 up to 2.0.39. This affects the function Generate of the file phpunit\src\Framework\MockObject\MockClass.php. The manipulation leads to deserialization. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| VulDBCNA (assigner) | 4.0 | Medium5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| VulDBCNA (assigner) | 3.1 | Medium6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 3.0 | Medium6.3 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| VulDBCNA (assigner) | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| NVDNVD · Analyzed | 4.0 | Medium5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.68% · top 48% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
- affected 2.0.0
- affected 2.0.1
- affected 2.0.2
- affected 2.0.3
- affected 2.0.4
- affected 2.0.5
- affected 2.0.6
- affected 2.0.7
- affected 2.0.8
- affected 2.0.9
- affected 2.0.10
- affected 2.0.11
- affected 2.0.12
- affected 2.0.13
- affected 2.0.14
- affected 2.0.15
- affected 2.0.16
- affected 2.0.17
- affected 2.0.18
- affected 2.0.19
- affected 2.0.20
- affected 2.0.21
- affected 2.0.22
- affected 2.0.23
- affected 2.0.24
- affected 2.0.25
- affected 2.0.26
- affected 2.0.27
- affected 2.0.28
- affected 2.0.29
- affected 2.0.30
- affected 2.0.31
- affected 2.0.32
- affected 2.0.33
- affected 2.0.34
- affected 2.0.35
- affected 2.0.36
- affected 2.0.37
- affected 2.0.38
- affected 2.0.39
References (4)
- VDB-300711 | yiisoft Yii2 MockClass.php generate deserialization (opens in a new tab)vdb-entrytechnical-description
- VDB-300711 | CTI Indicators (IOB, IOC, IOA) (opens in a new tab)signaturepermissions-required
- Submit #521718 | Yii Software LLC Yii 2.0 <=2.0.39 Deserialization (opens in a new tab)third-party-advisory
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md (opens in a new tab)exploit
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-2690)Record last updated .