{"id":"CVE-2025-2690","details":"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.","modified":"2026-04-10T05:23:41.693736Z","published":"2025-03-24T08:15:12.793Z","references":[{"type":"ADVISORY","url":"https://vuldb.com/?submit.521718"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.300711"},{"type":"REPORT","url":"https://vuldb.com/?id.300711"},{"type":"EVIDENCE","url":"https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/yiisoft/yii2","events":[{"introduced":"ae8d9782707b89315194ec70a139fece122b8977"},{"last_affected":"ccb14ff6671279f184906024144544ce3b732393"}],"database_specific":{"versions":[{"introduced":"2.0.0"},{"last_affected":"2.0.39"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-2690.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}