What’s Vulnerable › Vulnerabilities
CVE-2025-25034: SugarCRM PHP Deserialization RCE
- Severity: critical (CVSS 9.3 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 5.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-06-20 · updated 2026-10-29
- Weakness: CWE-502
Description
A PHP object injection vulnerability exists in SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 due to improper validation of PHP serialized input in the SugarRestSerialize.php script. The vulnerable code fails to sanitize the rest_data parameter before passing it to the unserialize() function. This allows an unauthenticated attacker to submit crafted serialized data containing malicious object declarations, resulting in arbitrary code execution within the application context. Although SugarCRM released a prior fix in advisory sugarcrm-sa-2016-001, the patch was incomplete and failed to address some vectors. Exploitation evidence was observed by the Shadowserver Foundation on 2024-09-13 UTC.
Affected products
- SugarCRM: from 6.5.0 before 6.5.24; from 6.7.0 before 6.7.13; from 7.5.0 before 7.5.2.5; from 7.6.0 before 7.6.2.2; from 7.7.0 before 7.7.1.0 — fixed in 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, 7.7.1.0
How to fix
Upgrade to a fixed version: SugarCRM 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2. Check the vendor advisory for mitigations.
References
- https://karmainsecurity.com/KIS-2016-07
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb
- https://vulncheck.com/advisories/sugarcrm-php-deserialization-rce
- https://web.archive.org/web/20160508053502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-001
- https://web.archive.org/web/20160725194502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-008
- https://www.exploit-db.com/exploits/40344
- https://www.sugarcrm.com/crm/
Get alerted when CVE-2025-25034 or the next vulnerability affects your stack