# CVE-2025-25034: SugarCRM PHP Deserialization RCE

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.3
- **CVSS:** 9.3 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 13.24% (percentile 97, 2026-11-26)
- **CWE:** CWE-502
- **Published:** 2025-06-20T18:34:13.197Z
- **Modified:** 2026-10-29T21:17:03.983Z

## Who should check

- Anyone running SugarCRM \>= 6.5.0, \< 6.5.24; \>= 6.7.0, \< 6.7.13; \>= 7.5.0, \< 7.5.2.5; \>= 7.6.0, \< 7.6.2.2; \>= 7.7.0, \< 7.7.1.0

## 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 and fixed versions

- SugarCRM: \>= 6.5.0, \< 6.5.24; \>= 6.7.0, \< 6.7.13; \>= 7.5.0, \< 7.5.2.5; \>= 7.6.0, \< 7.6.2.2; \>= 7.7.0, \< 7.7.1.0 (cvelist)

## Mitigation

- Upgrade SugarCRM to 7.7.1.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-25034. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-25034.md
Affected: SugarCRM >= 6.5.0, < 6.5.24; >= 6.7.0, < 6.7.13; >= 7.5.0, < 7.5.2.5; >= 7.6.0, < 7.6.2.2; >= 7.7.0, < 7.7.1.0
Fixed in: SugarCRM 6.5.24, SugarCRM 6.7.13, SugarCRM 7.5.2.5, SugarCRM 7.6.2.2, SugarCRM 7.7.1.0

Steps:
1. Search this machine and project for SugarCRM: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-25034 being exploited?

There is no confirmed exploitation: CVE-2025-25034 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 13.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-25034?

Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-25034?

SugarCRM \>= 6.5.0, \< 6.5.24; \>= 6.7.0, \< 6.7.13; \>= 7.5.0, \< 7.5.2.5; \>= 7.6.0, \< 7.6.2.2; \>= 7.7.0, \< 7.7.1.0.

### Is there a fix for CVE-2025-25034?

Yes. Fixed in SugarCRM 6.5.24, SugarCRM 6.7.13, SugarCRM 7.5.2.5, SugarCRM 7.6.2.2, SugarCRM 7.7.1.0. Upgrade SugarCRM to 7.7.1.0 or later.

### How do I check if I'm affected by CVE-2025-25034?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://web.archive.org/web/20160725194502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-008>
- vendor: <https://web.archive.org/web/20160508053502/http://www.sugarcrm.com/security/sugarcrm-sa-2016-001>
- exploit: <https://www.exploit-db.com/exploits/40344>
- exploit: <https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/sugarcrm_rest_unserialize_exec.rb>
- article: <https://karmainsecurity.com/KIS-2016-07>
- other: <https://www.sugarcrm.com/crm/>
- other: <https://vulncheck.com/advisories/sugarcrm-php-deserialization-rce>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-25034>

HTML: <https://flawdb.com/CVE-2025-25034> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-25034>
