CVE-2024-58136Yii 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.
Updated under an hour ago ()
Does this affect you?
It affects yiiframework Yii. Add what you run to find out whether that includes you.
CISA lists it as known exploited since May 2, 2025; federal agencies had to remediate by May 23, 2025. Treat that date as your deadline.
Do this next
Free account, 1 product
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.
- CVSS
- 9.0 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-424
- Known exploited
- Added to CISA KEV May 2, 2025; federal remediation due May 23, 2025Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- EPSS (exploitation in the next 30 days)
- 87.76% (percentile 100)
- Assigned by
- mitre
- NVD analysis
- Analyzed
- Record last updated
- Oct 21, 2025
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
yiiframework Yii yiiframework:yii (from the name) | from 2 before 2.0.52 | CNA record |
yiiframework yii yiiframework:yii | before 2.0.52 | NVD |
References
- https://github.com/yiisoft/yii2/pull/20232patch
- https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709issue-tracking
- https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12patch
- https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52issue-tracking
- https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52vendor-advisory
- https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/exploit, third-party-advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136us-government-resource
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.