NetSight
critical9.0Known exploited

CVE-2024-58136

yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key

Exploited in the wild

This vulnerability is on a Known Exploited Vulnerabilities catalogue, added 2025-05-02. Federal due date: 2025-05-23.

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Impact

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

EcosystemPackageAffectedFixed in
composeryiisoft/yii2< 2.0.522.0.52

Affected products

VendorProductAffected versions
YiiframeworkYii
before 2.0.52

Weakness classification

References