CVE-2025-25034
Published: 20 June 2025
Summary
CVE-2025-25034 is a critical-severity Deserialization of Untrusted Data (CWE-502) vulnerability. Its CVSS base score is 9.3 (Critical).
Operationally, ranked in the top 1.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
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. It stems from improper validation of PHP serialized input in the SugarRestSerialize.php script, where the rest_data parameter is passed directly to the unserialize() function without sanitization. This is tracked as CWE-502 and carries a CVSS 4.0 score of 9.3.
An unauthenticated attacker can submit crafted serialized data containing malicious object declarations via the affected REST endpoint, resulting in arbitrary code execution within the application context. The vulnerability affects any deployment exposing the SugarCRM REST interface, and prior vendor remediation in advisory sugarcrm-sa-2016-001 proved incomplete.
Public references, including archived SugarCRM advisories sugarcrm-sa-2016-001 and sugarcrm-sa-2016-008 plus subsequent analyses, document the incomplete patch and list updated version numbers that close the remaining deserialization vectors. A Metasploit module and detailed technical write-ups are also available for verification and testing.
Exploitation evidence was observed by the Shadowserver Foundation on 2024-09-13 UTC. The associated EPSS score reached a peak of 0.7536 on 2026-04-29 before receding to its current value of 0.7150.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-18782
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing supplies malicious serialized objects, detecting unsafe deserialization and supporting corrective actions.
Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.
Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.
Validates or rejects untrusted serialized data before deserialization occurs.
Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.
Integrity verification of serialized information can detect tampering before deserialization occurs.
Provenance of associated data allows detection of untrusted sources before deserialization or processing occurs.