Skip to main content

CVE-2015-5254 — Improper Input Validation in activemq-client

CRITICAL

Improper Input Validation in Apache ActiveMQ

Published May 13, 2022Updated February 21, 2024Source: OSV

What Should I Do?

Fix Within 2-4 Weeks

Moderate exploitation risk (38.19% probability in 30 days). Schedule remediation soon.

Does your project use an affected org.apache.activemq:activemq-client version?

Paste your pom.xml to check it for CVE-2015-5254 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

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.

Advisory Timeline

  • First published May 13, 2022 (1659 days ago).
  • Last revised February 21, 2024 — 649 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.activemq:activemq-client to 5.12.2 or later
<!-- Update pom.xml dependency version to 5.12.2 for org.apache.activemq:activemq-client -->
Maven
Update org.apache.activemq:activemq-client to 5.11.3 or later
<!-- Update pom.xml dependency version to 5.11.3 for org.apache.activemq:activemq-client -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.apache.activemq:activemq-client Maven · Affected: 5.12.0, 5.12.15.12.2
org.apache.activemq:activemq-client Maven · Affected: 5.10.0, 5.10.1, 5.10.2, 5.11.0 (+5 more)5.11.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-20
    Improper Input ValidationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2015-5254?
Improper Input Validation in Apache ActiveMQ. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2015-5254?
CVE-2015-5254 affects org.apache.activemq:activemq-client. It has a 38.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2015-5254 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
38.19%
EPSS percentile: 98.9

This places it in the top 5% of EPSS-scored vulnerabilities — 98.9% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-q9hr-3pg4-3jp4

Related CVEs

  • CVE-2014-3600
    CRITICAL

    Improper Restriction of XML External Entity Reference in Apache ActiveMQ

  • CVE-2023-46604
    CRITICAL

    Apache ActiveMQ is vulnerable to Remote Code Execution

  • CVE-2026-39304
    HIGH

    Apache ActiveMQ: Denial of Service via Out of Memory vulnerability

  • CVE-2026-53917
    HIGH

    Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ Client, Apache ActiveMQ Broker have Memory Allocation with Excessive Size Value vulnerability

  • CVE-2026-42588
    HIGH

    Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue

  • CVE-2026-45505
    HIGH

    Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ have a Code Injection issue

  • CVE-2026-40466
    HIGH

    Apache ActiveMQ Vulnerable to Improper Input Validation and Code Injection

  • CVE-2025-27533
    MEDIUM

    Apache ActiveMQ: Unchecked buffer length can cause excessive memory allocation

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml