Deserialization in Yiiframework Yii
CVE-2025-2690
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.007 (52.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 52.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: +0.000
Affected products
- Yiiframework Yii
- Yiisoft Yii2 — versions 2.0.0, 2.0.1, 2.0.2
Weakness classification (CWE)
References
- vuldb.com/ (Permissions Required, technical-description, VDB Entry, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, third-party-advisory)
- github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md (Exploit, Third Party Advisory, exploit)
Frequently asked questions
- What is CVE-2025-2690?
- CVE-2025-2690 is a medium-severity vulnerability in Yiiframework Yii, classified under Improper Input Validation. CVSS score: 6.3/10. Published 2025-03-24.
- How severe is CVE-2025-2690?
- Medium severity. CVSS v3 base score is 6.3 out of 10.