CVE-2025-2690 MEDIUM

CVE-2025-2690: yiisoft Yii2 MockClass.php generate deserialization

Vendor Yiisoft
Product Yii2
Weakness CWE-502 · Unsafe deserialization
Published March 24, 2025
Last update March 24, 2025

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 24, 2025 CVE published
March 24, 2025 Record updated