SecurityContext

CVE-2024-58136: Yii 2 - Insecure Deserialization

  • Cve: CVE-2024-58136
  • Name: Yii 2 - Insecure Deserialization
  • 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.
  • Impact: Attackers can exploit this to execute arbitrary code or cause application instability, leading to potential remote code execution or denial of service.
  • Remediation: Update to Yii 2.0.52 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.87757
  • Epss percentile: 0.99765
  • Assignee: [email protected]
  • Published at: 2025-04-10T03:15:17Z
  • Age in days: 593
  • Modified at: 2026-06-17T08:14:41Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 15
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-58136
  • Nvd status: analyzed
  • Checked, none or zero: public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-424Improper Protection of Alternate Path
NVD-CWE-Other—

Known exploited entries

ListAdded dateDue dateRansomware use
cisa2025-05-022025-05-23no
vulncheck2025-04-09—no

Nuclei templates

IdUrl
CVE-2024-58136https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-58136.yaml

Hackerone

  • Reports: 1
  • Rank: 2839

Public exploits

UrlSourceAdded date
https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/nvd2025-04-10

References

UrlSourceTags
https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12nvdPatch
https://github.com/yiisoft/yii2/pull/20232nvdPatch
https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52nvdVendor Advisory
https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52nvdIssue Tracking
https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709nvdIssue Tracking
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-58136nvdUS Government Resource
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-58136.yamlnuclei_templateNuclei Template
https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms/vulncheckVulncheck Reported Exploitation
https://www.loginsoft.com/reports/annually/vulnerability-intelligence-report-2025vulncheckVulncheck Reported Exploitation
https://cyble.com/resources/research-reports/global-cybersecurity-report/vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
yiiframework:yii< 2.0.52nonvd/v1/products/yiiframework/yii

Projects

RepositoryLink kindsIndexedUrl
yiisoft/yii2commit, compare, fix, package, pullyes/v1/repositories/yiisoft/yii2

Index

  • Repositories: 34
  • Repositories high signal: 16
  • Packages: 1

Exploitation

  • Known exploited: yes
  • Known exploited since: 2025-05-02
  • Known exploited by: cisa, vulncheck
  • Vulncheck known exploited since: 2025-04-09
  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-04-10
  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: initial access, authentication required
  • Not known: initial access since, exposed hosts

Nuclei template