Skip to content
Vulnerability Intelligence

CVE-2024-58136

CriticalExploitedPublic exploit

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

Published Apr 10, 2025 · Updated Aug 12, 2026 · Also known as GHSA-ggwg-cmwp-46r5

Key Facts

Patch immediately
  • CVE-2024-58136 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Yii (Yiiframework), yiisoft/yii2 (composer).
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Apr 9, 2025. Public exploit code is available.
  • EPSS estimates a 88% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Yii 2.0.52, yiisoft/yii2 2.0.52.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

88%

Higher than 99.7% of all scored CVEs

Exploited in the wild

Yes

4 catalog listings

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2024-58136 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVMay 2, 2025May 23, 2025Not reported
Industry KEV feedApr 9, 2025May 23, 2025Not reported
CIRCL KEVMay 2, 2025May 23, 2025Not reported
ENISA EUVDMay 2, 2025n/aNot reported

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

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
YiiYiiframework>= 22.0.52
yiisoft/yii2composerSee advisory2.0.52

Patched Releases

Yii

2.0.52

yiisoft/yii2

2.0.52

Timeline

  1. Added to Industry KEV feed

    Apr 9, 2025

  2. Publicly disclosed

    Apr 10, 2025

  3. Added to CISA KEV

    May 2, 2025

  4. Added to CIRCL KEV

    May 2, 2025

  5. Added to ENISA EUVD

    May 2, 2025

  6. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-424 Improper Protection of Alternate Path

References

14 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-58136 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo