CVE-2024-58136
CRITICAL9.0⚠ KEVEPSS 78.9%yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key
Published: 4/10/2025Modified: 10/22/2025Added to CISA KEV: 5/2/2025
Description
Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990 regression, as exploited in the wild in February through April 2025.
Affected packages (1)
- Packagist/yiisoft/yii2from 0, < 2.0.52
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H |
References (9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-58136
- PATCHhttps://github.com/yiisoft/yii2
- WEBhttps://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12
- WEBhttps://github.com/yiisoft/yii2/compare/2.0.51...2.0.52
- WEBhttps://github.com/yiisoft/yii2/pull/20232
- WEBhttps://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709
- WEBhttps://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms
- WEBhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136
- WEBhttps://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52