CVE-2025-2690: A vulnerability, which was classified as critical, was found in yiisoft Yii2 up to 2.0.39
CVE-2025-2690 is a medium-severity flaw (CVSS 6.3) affecting yii. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-2690?
yii: upgrade to newer than 2.0.39. Exact commands for each OS are on this page.
Is CVE-2025-2690 being exploited?
CVE-2025-2690 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-2690 affect?
CVE-2025-2690 affects yii. Severity is medium (CVSS 6.3). 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 possi
How urgent is CVE-2025-2690?
Priority 40/100. Public exploit reference
Software pages
Related CVEs
- CVE-2025-32027 MEDIUM 6.1 UPGRADE Yii is an open source PHP web framework
- CVE-2025-2689 MEDIUM 6.3 UPGRADE A vulnerability, which was classified as critical, has been found in yiisoft Yii2 up to 2.0.45
- CVE-2024-58136 CRITICAL 9.0 EXPLOITED UPGRADE Yiiframework Yii Improper Protection of Alternate Path Vulnerability
- CVE-2024-4990 CRITICAL 9.1 DOWNGRADE In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()` magic me
- CVE-2024-32877 MEDIUM 4.2 DOWNGRADE Yii 2 is a PHP application framework