CVE-2026-39304: Apache ActiveMQ Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-5568-6qcg-g7fx
CVSS 7.5
CWE-400
Published
Advisory Summary

CVE-2026-39304 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Apache ActiveMQ libraries in the Maven ecosystem. The issue involves denial of service via out of memory vulnerability. Remediation is available by upgrading affected packages to version 5.19.4, 6.2.4.

CVE-2026-39304 at a Glance

CVE Identifier CVE-2026-39304
GHSA Identifier GHSA-5568-6qcg-g7fx
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Apache ActiveMQ
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2026-39304

To remediate this vulnerability, upgrade all affected Apache ActiveMQ dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.activemq:activemq-client fixed: 5.19.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-client</artifactId>
    <version>5.19.4</version>
</dependency>
org.apache.activemq:activemq-client fixed: 6.2.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-client</artifactId>
    <version>6.2.4</version>
</dependency>
org.apache.activemq:activemq-broker fixed: 5.19.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-broker</artifactId>
    <version>5.19.4</version>
</dependency>
org.apache.activemq:activemq-broker fixed: 6.2.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-broker</artifactId>
    <version>6.2.4</version>
</dependency>
org.apache.activemq:activemq-all fixed: 5.19.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-all</artifactId>
    <version>5.19.4</version>
</dependency>
org.apache.activemq:activemq-all fixed: 6.2.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>activemq-all</artifactId>
    <version>6.2.4</version>
</dependency>
org.apache.activemq:apache-activemq fixed: 5.19.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>apache-activemq</artifactId>
    <version>5.19.4</version>
</dependency>
org.apache.activemq:apache-activemq fixed: 6.2.4
<dependency>
    <groupId>org.apache.activemq</groupId>
    <artifactId>apache-activemq</artifactId>
    <version>6.2.4</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.activemq

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-39304, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.activemq

Analyze the terminal output to locate any version of Apache ActiveMQ in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.19.4), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.activemq command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Apache ActiveMQ, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Denial of Service via Out of Memory vulnerability in Apache ActiveMQ Client, Apache ActiveMQ Broker, Apache ActiveMQ. ActiveMQ NIO SSL transports do not correctly handle TLSv1.3 handshake KeyUpdates triggered by clients. This makes it possible for a client to rapidly trigger updates which causes the broker to exhaust all its memory in the SSL engine leading to DoS. Note: TLS versions before TLSv1.3 (such as TLSv1.2) are broken but are not vulnerable to OOM. Previous TLS versions require a full handshake renegotiation which causes a connection to hang but not OOM. This is fixed as well. This issue affects Apache ActiveMQ Client: before 5.19.4, from 6.0.0 before 6.2.4; Apache ActiveMQ Broker: before 5.19.4, from 6.0.0 before 6.2.4; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.4. Users are recommended to upgrade to version 6.2.4 or 5.19.5, which fixes the issue.

CVE-2026-39304 Affected Apache ActiveMQ Versions

8 component(s)
Fixed Versions:
5.19.46.2.4
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.activemq:activemq-client
Maven
< 5.19.4
5.19.4
org.apache.activemq:activemq-client
Maven
≥ 6.0.0
< 6.2.4
6.2.4
org.apache.activemq:activemq-broker
Maven
< 5.19.4
5.19.4
org.apache.activemq:activemq-broker
Maven
≥ 6.0.0
< 6.2.4
6.2.4
org.apache.activemq:activemq-all
Maven
< 5.19.4
5.19.4
org.apache.activemq:activemq-all
Maven
≥ 6.0.0
< 6.2.4
6.2.4
org.apache.activemq:apache-activemq
Maven
< 5.19.4
5.19.4
org.apache.activemq:apache-activemq
Maven
≥ 6.0.0
< 6.2.4
6.2.4

References

Frequently Asked Questions

What is CVE-2026-39304?
CVE-2026-39304 is a security vulnerability in Apache ActiveMQ involving Denial of Service via Out of Memory vulnerability under CWE-400: Uncontrolled Resource Consumption.
Which Apache ActiveMQ versions are affected?
Affected versions include releases prior to 5.19.4, 6.2.4 across affected packages: org.apache.activemq:activemq-client, org.apache.activemq:activemq-broker, org.apache.activemq:activemq-all, org.apache.activemq:apache-activemq.
What version fixes CVE-2026-39304?
Upgrading to 5.19.4, 6.2.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is activemq-client affected?
Yes, org.apache.activemq:activemq-client is affected in releases prior to 5.19.4, 6.2.4. Upgrade your dependency to 5.19.4, 6.2.4 or later.
Is activemq-broker affected?
Yes, org.apache.activemq:activemq-broker is affected in releases prior to 5.19.4, 6.2.4. Upgrade your dependency to 5.19.4, 6.2.4 or later.
What is the CVSS score of CVE-2026-39304?
CVE-2026-39304 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2026-39304?
CVE-2026-39304 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2026-39304?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.activemq'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5568-6qcg-g7fx",
  "modified" : "2026-04-10T21:01:01Z",
  "published" : "2026-04-10T12:31:44Z",
  "aliases" : [ "CVE-2026-39304" ],
  "summary" : " Apache ActiveMQ: Denial of Service via Out of Memory vulnerability",
  "details" : "Denial of Service via Out of Memory vulnerability in Apache ActiveMQ Client, Apache ActiveMQ Broker, Apache ActiveMQ.\n\nActiveMQ NIO SSL transports do not correctly handle TLSv1.3 handshake KeyUpdates triggered by clients. This makes it possible for a client to rapidly trigger updates which causes the broker to exhaust all its memory in the SSL engine leading to DoS.\n\nNote: TLS versions before TLSv1.3 (such as TLSv1.2) are broken but are not vulnerable to OOM. Previous TLS versions require a full handshake renegotiation which causes a connection to hang but not OOM. This is fixed as well.\nThis issue affects Apache ActiveMQ Client: before 5.19.4, from 6.0.0 before 6.2.4; Apache ActiveMQ Broker: before 5.19.4, from 6.0.0 before 6.2.4; Apache ActiveMQ: before 5.19.4, from 6.0.0 before 6.2.4.\n\nUsers are recommended to upgrade to version 6.2.4 or 5.19.5, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.19.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-client"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-broker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.19.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-broker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-all"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.19.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:activemq-all"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:apache-activemq"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.19.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.activemq:apache-activemq"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.2.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-39304"
  }, {
    "type" : "WEB",
    "url" : "https://activemq.apache.org/security-advisories.data/CVE-2026-39304-announcement.txt"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/activemq"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/04/09/17"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-10T21:01:01Z",
    "nvd_published_at" : "2026-04-10T11:16:23Z"
  }
}