yiisoft Yii2 MockClass.php generate deserialization
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-2690
Credits & Attribution
The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:
- gaorenyusi (VulDB User)
References
More from yiisoft
View All →Affected Vendor
yiisoft
View all reports →