CRITICAL

CVE-2024-58136

Yiiframework Yii 2025-04-10 CVSS v3.1
CVSS
9.8
KEV

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.

Summary dbcve.org

Yii 2 before version 2.0.52 contains a security flaw in its behavior attachment mechanism where an attacker can exploit the __class array key to achieve arbitrary code execution. This is a regression of CVE-2024-4990 and was actively exploited in the wild between February and April 2025.

Mitigation

Upgrade Yii 2 to version 2.0.52 or later. Organizations running affected versions should prioritize this upgrade given the critical CVSS score and confirmed in-the-wild exploitation.

Proof of Concept
Patch Commit

Weakness (CWE)

CWE-424

EPSS Score

87.76%
Probability of exploitation in next 30 days
99.8th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE