CVE-2025-25034 in Foundation products
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() functio...
Affects 0 products from 3 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Foundation | — | — |
| Script | — | — |
| Sugarcrm | — | — |
| Sugarcrm | 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 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-25034 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-247032-I |
| Published | 2025-06-20 |
| Last modified | 2026-10-29 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-502: Deserialization of Untrusted Data
Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.
Related attack patterns (CAPEC)
CAPEC-586 Object Injection via CWE-502
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A PHP object injection vulnerability in SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 allows an unauthenticated attacker to execute arbitrary code within the application context. This vulnerability is due to improper validation of PHP serialized input in the SugarRestSerialize.php script. Exploitation evidence was observed by the Shadowserver Foundation on 2024-09-13 UTC, indicating active exploitation in the wild.
The vulnerability is triggered when an unauthenticated attacker submits crafted serialized data containing malicious object declarations to the rest_data parameter in the SugarRestSerialize.php script. The lack of proper sanitization before passing this data to the unserialize() function results in arbitrary code execution. This can lead to full control of the affected application, potentially allowing the attacker to perform actions such as data exfiltration, defacement, or further exploitation of the network.
Compensating controls AI-drafted, review before use
Implement input validation and sanitization for the rest_data parameter in the SugarRestSerialize.php script. Consider using a web application firewall (WAF) to block requests containing suspicious serialized data.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2025-25034?
A PHP object injection vulnerability in SugarCRM versions prior to 6.5.24, 6.7.13, 7.5.2.5, 7.6.2.2, and 7.7.1.0 allows an unauthenticated attacker to execute arbitrary code within the application context. This vulnerability is due to improper validation of PHP serialized input in the SugarRestSerialize.php script. Exploitation evidence was observed by the Shadowserver Foundation on 2024-09-13 UTC, indicating active exploitation in the wild.
Is CVE-2025-25034 actively exploited?
No confirmed active exploitation of CVE-2025-25034 as of 2026-11-03.
How do I remediate CVE-2025-25034?
Priority: IMMEDIATE.
What systems are affected by CVE-2025-25034?
CVE-2025-25034 affects Foundation; Script; Sugarcrm.
What NERC-CIP standard applies to CVE-2025-25034?
NERC CIP CIP-007 CIP-007-R2: This vulnerability violates CIP-007-R2 by allowing unauthorized access to the control system, which could compromise the security of the electronic security perimeter.
What IEC 62443 requirement maps to CVE-2025-25034?
IEC 62443 SR 7.6: This vulnerability maps to SR 7.6, which requires the implementation of secure coding practices to prevent injection attacks. The lack of proper input validation and sanitization in the SugarRestSerialize.php script violates this requirement.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Foundation","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-29.