CVE-2025-2689: yiisoft Yii2 SortableIterator.php getIterator deserialization

Published Mar 24, 2025
·
Updated

A vulnerability, which was classified as critical, has been found in yiisoft Yii2 up to 2.0.45. Affected by this issue is the function getIterator of the file symfony\finder\Iterator\SortableIterator.php. The manipulation leads to deserialization. The attack may be launched remotely. The exploit has been disclosed to the public and may be used.

Affected Software

3 affected components
yiisoft Yii2<=2.0.45
composer/yiisoft/yii2-dev<=2.0.45
Yiiframework Yii>=2.0.0<=2.0.45

Event History

Mar 24, 2025
CVE Published
via MITRE·07:00 AM
Data Sourced
via MITRE·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:34 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-2689?

CVE-2025-2689 is classified as a critical vulnerability.

2

What software versions are affected by CVE-2025-2689?

CVE-2025-2689 affects versions of yiisoft Yii2 up to 2.0.45.

3

How do I fix CVE-2025-2689?

To fix CVE-2025-2689, update yiisoft Yii2 to the latest version beyond 2.0.45.

4

What type of vulnerability is CVE-2025-2689?

CVE-2025-2689 is a deserialization vulnerability that can be exploited remotely.

5

Where is the vulnerable function in CVE-2025-2689 located?

The vulnerability in CVE-2025-2689 is located in the getIterator function of the file symfony\finder\Iterator\SortableIterator.php.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203