{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.0.0"
              },
              {
                "last_affected": "2.0.39"
              }
            ]
          },
          "events": [
            {
              "introduced": "ae8d9782707b89315194ec70a139fece122b8977"
            },
            {
              "last_affected": "ccb14ff6671279f184906024144544ce3b732393"
            }
          ],
          "repo": "https://github.com/yiisoft/yii2",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2025-2690",
  "modified": "2026-03-15T13:45:44.447395555Z",
  "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"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}