PT-2025-12565 · Phpunity+1 · Phpunit+1

Gaorenyusi

·

Published

2025-03-24

·

Updated

2025-03-24

·

CVE-2025-2690

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions yiisoft Yii2 versions up to 2.0.39
Description A critical issue was found in the Generate function of the file phpunitsrcFrameworkMockObjectMockClass.php. This issue leads to deserialization and can be initiated remotely.
Recommendations For versions up to 2.0.39, update to a version higher than 2.0.39 to resolve the issue. As a temporary workaround, consider restricting access to the Generate function of the MockClass.php file until a patch is available.

Exploit

Fix

Deserialization of Untrusted Data

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-2690

Affected Products

Yii2
Phpunit