# CVE-2015-7501: Deserialization of Untrusted Data in Apache commons collections

> Remote attackers can execute arbitrary commands via crafted serialized Java objects in Red Hat JBoss products using Apache Commons Collections.

- **Severity:** Critical 9.8 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 9 Nov 2017
- **Updated:** 6 Aug 2024
- **Also known as:** DEBIAN-CVE-2015-7501, GHSA-fjq5-5j5f-mvxh, MGASA-2016-0012, RHSA-2015:2500, RHSA-2015:2521, RHSA-2015:2522, RHSA-2015:2523, RHSA-2015:2535, RHSA-2015:2536, RHSA-2015:2671, RHSA-2020:4274, ROOT-APP-MAVEN-CVE-2015-7501, UBUNTU-CVE-2015-7501

## What is CVE-2015-7501?

CVE-2015-7501 is a critical unsafe deserialization vulnerability in Redhat Jboss Enterprise Application Platform, published on 9 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Red Hat JBoss A-MQ 6.x; BPM Suite (BPMS) 6.x; BRMS 6.x and 5.x; Data Grid (JDG) 6.x; Data Virtualization (JDV) 6.x and 5.x; Enterprise Application Platform 6.x, 5.x, and 4.3.x; Fuse 6.x; Fuse Service Works (FSW) 6.x; Operations Network (JBoss ON) 3.x; Portal 6.x; SOA Platform (SOA-P) 5.x; Web Server (JWS) 3.x; Red Hat OpenShift/xPAAS 3.x; and Red Hat Subscription Asset Manager 1.3 allow remote attackers to execute arbitrary commands via a crafted serialized Java object, related to the Apache Commons Collections (ACC) library.

Weakness: CWE-502 (Deserialization of Untrusted Data)

## Which versions are affected by CVE-2015-7501?

10 open source packages ship an affected version, including commons-collections:commons-collections, net.sourceforge.collections:collections-generic and org.apache.commons:commons-collections4. It affects 15 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `commons-collections:commons-collections` | Maven | All versions | 3.2.2 |
| `commons-collections:commons-collections` | Maven | All versions | 3.2.2 |
| `net.sourceforge.collections:collections-generic` | Maven | All versions | None |
| `net.sourceforge.collections:collections-generic` | Maven | All versions | None |
| `org.apache.commons:commons-collections4` | Maven | All versions | 4.1 |
| `org.apache.commons:commons-collections4` | Maven | All versions | 4.1 |
| `org.apache.servicemix.bundles:org.apache.servicemix.bundles.collections-generic` | Maven | From 4.01 | None |
| `org.apache.servicemix.bundles:org.apache.servicemix.bundles.collections-generic` | Maven | From 4.01 | None |
| `org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-collections` | Maven | From 3.2.1 | None |
| `org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-collections` | Maven | From 3.2.1 | None |
| `jakarta-commons-collections` | Red Hat:enterprise_linux:5::client | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-debuginfo` | Red Hat:enterprise_linux:5::client | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-tomcat5` | Red Hat:enterprise_linux:5::client | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections` | Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-debuginfo` | Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-javadoc` | Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-testframework` | Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-testframework-javadoc` | Red Hat:enterprise_linux:5::client_workstation | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections` | Red Hat:enterprise_linux:5::server | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-debuginfo` | Red Hat:enterprise_linux:5::server | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-javadoc` | Red Hat:enterprise_linux:5::server | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-testframework` | Red Hat:enterprise_linux:5::server | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-testframework-javadoc` | Red Hat:enterprise_linux:5::server | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections-tomcat5` | Red Hat:enterprise_linux:5::server | All versions | 0:3.2-2jpp.4 |
| `jakarta-commons-collections` | Red Hat:enterprise_linux:6::client | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-javadoc` | Red Hat:enterprise_linux:6::client | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-testframework` | Red Hat:enterprise_linux:6::client | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-testframework-javadoc` | Red Hat:enterprise_linux:6::client | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-tomcat5` | Red Hat:enterprise_linux:6::client | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections` | Red Hat:enterprise_linux:6::computenode | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-javadoc` | Red Hat:enterprise_linux:6::computenode | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-testframework` | Red Hat:enterprise_linux:6::computenode | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-testframework-javadoc` | Red Hat:enterprise_linux:6::computenode | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-tomcat5` | Red Hat:enterprise_linux:6::computenode | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections` | Red Hat:enterprise_linux:6::server | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-javadoc` | Red Hat:enterprise_linux:6::server | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-testframework` | Red Hat:enterprise_linux:6::server | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-testframework-javadoc` | Red Hat:enterprise_linux:6::server | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections-tomcat5` | Red Hat:enterprise_linux:6::server | All versions | 0:3.2.1-3.5.el6_7 |
| `jakarta-commons-collections` | Red Hat:enterprise_linux:6::workstation | All versions | 0:3.2.1-3.5.el6_7 |

Products: Redhat Data Grid, Redhat Jboss A-Mq, Redhat Jboss Bpm Suite, Redhat Jboss Data Virtualization, Redhat Jboss Enterprise Application Platform, Redhat Jboss Enterprise Brms Platform, Redhat Jboss Enterprise Soa Platform, Redhat Jboss Enterprise Web Server, Redhat Jboss Fuse, Redhat Jboss Fuse Service Works, Redhat Jboss Operations Network, Redhat Jboss Portal, Redhat Openshift, Redhat Subscription Asset Manager, Redhat Xpaas.

## How do I fix CVE-2015-7501?

Upgrade commons-collections:commons-collections to 3.2.2 or later.

## Is CVE-2015-7501 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-7501 exists.

Public exploit code:

- （CVE-2015-7501）JBoss JMXInvokerServlet 反序列化漏洞 (github_poc): https://github.com/ianxtianxt/CVE-2015-7501
- Red Hat JBoss - Insecure Deserialization (nuclei): http/cves/2015/CVE-2015-7501.yaml

## Other vulnerabilities in Redhat Jboss Enterprise Application Platform

- [CVE-2025-23368](https://insights.sbomify.com/CVE-2025-23368/): Org.wildfly.core:wildfly-elytron-integration: wildfly elytron brute force attack via cli (high 8.1)
- [CVE-2019-14838](https://insights.sbomify.com/CVE-2019-14838/): Wildfly Authorization Misconfiguration (medium 5.2)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2015-7501 and fix it if it is affected.

What it is: CVE-2015-7501 is a critical unsafe deserialization vulnerability in Redhat Jboss Enterprise Application Platform, published on 9 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-7501 exists.

Affected packages and fixed versions:
- commons-collections:commons-collections (Maven): affected all versions; fixed in 3.2.2
- commons-collections:commons-collections (Maven): affected all versions; fixed in 3.2.2
- net.sourceforge.collections:collections-generic (Maven): affected all versions; no fix listed
- net.sourceforge.collections:collections-generic (Maven): affected all versions; no fix listed
- org.apache.commons:commons-collections4 (Maven): affected all versions; fixed in 4.1
- org.apache.commons:commons-collections4 (Maven): affected all versions; fixed in 4.1
- org.apache.servicemix.bundles:org.apache.servicemix.bundles.collections-generic (Maven): affected from 4.01; no fix listed
- org.apache.servicemix.bundles:org.apache.servicemix.bundles.collections-generic (Maven): affected from 4.01; no fix listed
- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-collections (Maven): affected from 3.2.1; no fix listed
- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-collections (Maven): affected from 3.2.1; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2015-7501/ (Markdown: https://insights.sbomify.com/CVE-2015-7501/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2015-7501
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2015-7501
- OSV: https://osv.dev/vulnerability/CVE-2015-7501

---
From sbomify Insights: https://insights.sbomify.com/CVE-2015-7501/
Summaries are generated and may contain mistakes; the official description above is the record.
