CVE-2015-7501: Apache Commons Collections Java Deserialization Remote Code Execution
- Vendor
- Red Hat
CVE-2015-7501 is an unsafe Java deserialization vulnerability involving Apache Commons Collections. Applications that deserialize attacker-controlled objects can execute arbitrary code through a specially constructed gadget chain involving classes such as InvokerTransformer, InstantiateFactory, and InstantiateTransformer. Vulnerable classes must be available on the application's classpath. Affected deployments include numerous Red Hat JBoss middleware products and other applications bundling the vulnerable library. In exposed JBoss configurations, JMXInvokerServlet can provide an unauthenticated entry point, allowing code execution as the operating-system user running the JBoss server. Library presence alone is insufficient for exploitation; an application must also expose an unsafe deserialization path.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code and operating-system command execution with the privileges of the application performing deserialization. An attacker can compromise application-accessible data and resources, alter application behavior, deploy additional payloads, or disrupt services. The scope of compromise depends on the application account's permissions and access to other systems; exploitation does not inherently grant administrator or root privileges.
Mitigation
If you can’t patch tonight, do this now.
Prevent untrusted input from reaching Java deserialization code paths. Where deserialization is unavoidable, enforce strict class allow-lists using serialization filters supported by the runtime. Disable unnecessary serialized-object endpoints and restrict access to JBoss management interfaces using firewalls, VPNs, and network segmentation. As a temporary workaround, remove InvokerTransformer, InstantiateFactory, and InstantiateTransformer from every affected Commons Collections JAR, including application-bundled copies; test thoroughly because removal can break application functionality. Run affected applications with least privilege to limit post-exploitation impact.
Remediation
Patch, then assume compromise.
Upgrade Apache Commons Collections 3.x to 3.2.2 or later, or Commons Collections 4.x to 4.1 or later, or install the applicable vendor-supported backported fix. Update every application-bundled copy separately; patching the platform library does not remediate applications carrying their own vulnerable dependencies. Restart all applications using the updated library. Product-specific fixes include JBoss EAP 6.4.5, JBoss Fuse 6.2.1, JBoss Operations Network 3.3.5, and VMware Tanzu Greenplum 6.33.3; other affected releases require their corresponding vendor patches. Apply JBoss Operations Network server patches to every high-availability node, stopping each server before patching. Do not re-enable unsafe serialization through the org.apache.commons.collections.enableUnsafeSerialization system property. Replace unsupported products with supported, patched releases.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2015-7501 exploited in the wild?
- Yes. As of Nov 22, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2015-7501?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2015-7501, the earliest disclosed Feb 21, 2020.
- Is there a patch for CVE-2015-7501?
- Upgrade Apache Commons Collections 3.x to 3.2.2 or later, or Commons Collections 4.x to 4.1 or later, or install the applicable vendor-supported backported fix. Update every application-bundled copy separately; patching the platform library does not remediate applications carrying their own vulnerable dependencies.
- What products are affected by CVE-2015-7501?
- Red Hat Data Grid, Red Hat Jboss A-Mq, Red Hat Jboss Bpm Suite, Red Hat Jboss Data Virtualization, Red Hat Jboss Enterprise Application Platform, and 10 more.
- How severe is CVE-2015-7501?
- CVE-2015-7501 has a CVSS v3 score of 9.8 (Critical) and an EPSS score of 85.6% (100th percentile) as of Nov 22, 2026.
Recent activity
72 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.