CVE-2025-2690

published 24 Mar 2025 · updated 24 Mar 2025

yiisoft Yii2 MockClass.php generate deserialization

7.3HighCVSS 6.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
yiisoft=2.0.0, =2.0.1, =2.0.10, =2.0.11, =2.0.12, =2.0.13, =2.0.14, =2.0.15, =2.0.16, =2.0.17, =2.0.18, =2.0.19, =2.0.2, =2.0.20, =2.0.21, =2.0.22, =2.0.23, =2.0.24, =2.0.25, =2.0.26, =2.0.27, =2.0.28, =2.0.29, =2.0.3, =2.0.30, =2.0.31, =2.0.32, =2.0.33, =2.0.34, =2.0.35, =2.0.36, =2.0.37, =2.0.38, =2.0.39, =2.0.4, =2.0.5, =2.0.6, =2.0.7, =2.0.8, =2.0.9

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-2690 severity on Zeptric[![CVE-2025-2690](https://zeptric.io/badge/cve/CVE-2025-2690.svg)](https://zeptric.io/cve/CVE-2025-2690)