Read the docs
TI-2025-40693 Aliases CVE-2025-66168GHSA-c825-6ph3-4h84

Integer overflow in Apache ActiveMQ

Priority MEDIUM 40CWE-190Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-190 and the CVSS impact.

Summary

WARNING: Users of 6.x should upgrade to 6.2.4 or later as the fix was missed in previous 6.x releases. See the  following for more details: https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt https://www.cve.org/CVERecord?id=CVE-2026-40046 Original Report: Apache ActiveMQ does not properly validate the remaining length field which may lead to an overflow during the decoding of malformed packets. When this integer overflow occurs, ActiveMQ may incorrectly compute the total Remaining Length and subsequently misinterpret the payload as multiple MQTT control packets which makes the broker susceptible to unexpected behavior when interacting with non-compliant clients. This behavior violates the MQTT v3.1.1 specification, which restricts Remaining Length to a maximum of 4 bytes. The scenario occurs on established connections after the authentication process. Brokers that are not enabling mqtt transport connectors are not impacted. This issue affects Apache ActiveMQ: before 5.19.2, 6.0.0 to 6.1.8, and 6.2.0 Users are recommended to upgrade to version 5.19.2, 6.1.9, or 6.2.1, which fixes the issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00872 59th percentileScored 2026-11-07
Fix Partial Apache ActiveMQ (Apache Software Foundation): 5.19.2, 6.1.9, 6.2.1Apache ActiveMQ All Module (Apache Software Foundation): 5.19.2, 6.1.9, 6.2.1+4 more productsRed Hat: 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache ActiveMQbefore 5.19.2; 6.0.0 to before 6.1.9; 6.2.0 to before 6.2.15.19.2, 6.1.9, 6.2.1Patch availableCNA
ApacheApache ActiveMQ All Modulebefore 5.19.2; 6.0.0 to before 6.1.9; 6.2.0 to before 6.2.15.19.2, 6.1.9, 6.2.1Patch availableCNA
ApacheApache ActiveMQ MQTT Modulebefore 5.19.2; 6.0.0 to before 6.1.9; 6.2.0 to before 6.2.15.19.2, 6.1.9, 6.2.1Patch availableCNA
—org.apache.activemq:apache-activemq (Maven)before 5.19.25.19.2Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:apache-activemq (Maven)6.0.0 to before 6.1.96.1.9Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:apache-activemq (Maven)6.2.0 to before 6.2.16.2.1Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:activemq-all (Maven)before 5.19.25.19.2Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:activemq-all (Maven)6.0.0 to before 6.1.96.1.9Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:activemq-all (Maven)6.2.0 to before 6.2.16.2.1Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:activemq-mqtt (Maven)before 5.19.25.19.2Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:activemq-mqtt (Maven)6.0.0 to before 6.1.96.1.9Patch availableGHSA-c825-6ph3-4h84
—org.apache.activemq:activemq-mqtt (Maven)6.2.0 to before 6.2.16.2.1Patch availableGHSA-c825-6ph3-4h84
  • Apache ActiveMQ VendorApache Affected before 5.19.2; 6.0.0 to before 6.1.9; 6.2.0 to before 6.2.1 Fixed in 5.19.2, 6.1.9, 6.2.1 Patch available CNA
  • Apache ActiveMQ All Module VendorApache Affected before 5.19.2; 6.0.0 to before 6.1.9; 6.2.0 to before 6.2.1 Fixed in 5.19.2, 6.1.9, 6.2.1 Patch available CNA
  • Apache ActiveMQ MQTT Module VendorApache Affected before 5.19.2; 6.0.0 to before 6.1.9; 6.2.0 to before 6.2.1 Fixed in 5.19.2, 6.1.9, 6.2.1 Patch available CNA
  • org.apache.activemq:apache-activemq (Maven) Vendor— Affected before 5.19.2 Fixed in 5.19.2 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:apache-activemq (Maven) Vendor— Affected 6.0.0 to before 6.1.9 Fixed in 6.1.9 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:apache-activemq (Maven) Vendor— Affected 6.2.0 to before 6.2.1 Fixed in 6.2.1 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:activemq-all (Maven) Vendor— Affected before 5.19.2 Fixed in 5.19.2 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:activemq-all (Maven) Vendor— Affected 6.0.0 to before 6.1.9 Fixed in 6.1.9 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:activemq-all (Maven) Vendor— Affected 6.2.0 to before 6.2.1 Fixed in 6.2.1 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:activemq-mqtt (Maven) Vendor— Affected before 5.19.2 Fixed in 5.19.2 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:activemq-mqtt (Maven) Vendor— Affected 6.0.0 to before 6.1.9 Fixed in 6.1.9 Patch available GHSA-c825-6ph3-4h84
  • org.apache.activemq:activemq-mqtt (Maven) Vendor— Affected 6.2.0 to before 6.2.1 Fixed in 6.2.1 Patch available GHSA-c825-6ph3-4h84

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*before 5.19.2; 6.0.0 – 6.1.8VulnerableApache
cpe:2.3:a:apache:activemq:6.2.0:*:*:*:*:*:*:*6.2.0VulnerableApache
  • cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:* Versions before 5.19.2; 6.0.0 – 6.1.8 Vulnerable ·Apache
  • cpe:2.3:a:apache:activemq:6.2.0:*:*:*:*:*:*:* Versions 6.2.0 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache ActiveMQ (Apache Software Foundation) Fixed in 5.19.2, 6.1.9, 6.2.1
  • Fix · CNA Apache ActiveMQ All Module (Apache Software Foundation) Fixed in 5.19.2, 6.1.9, 6.2.1
  • Fix · CNA Apache ActiveMQ MQTT Module (Apache Software Foundation) Fixed in 5.19.2, 6.1.9, 6.2.1
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:apache-activemq (Maven) Fixed in 5.19.2 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:apache-activemq (Maven) Fixed in 6.1.9 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:apache-activemq (Maven) Fixed in 6.2.1 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:activemq-all (Maven) Fixed in 5.19.2 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:activemq-all (Maven) Fixed in 6.1.9 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:activemq-all (Maven) Fixed in 6.2.1 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:activemq-mqtt (Maven) Fixed in 5.19.2 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:activemq-mqtt (Maven) Fixed in 6.1.9 Advisory →
  • Fix · GHSA-c825-6ph3-4h84 org.apache.activemq:activemq-mqtt (Maven) Fixed in 6.2.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 7AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix planned: Will not fix
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-66168
  2. 2026-10-03 Alias added: GHSA-c825-6ph3-4h84
  3. 2026-10-31 Priority changed: LOW → MEDIUM

References

  • TI-2023-25106 Deserialization of untrusted data in Apache ActiveMQ KEVCVSS 3.1CRITICAL 10.0
  • TI-2016-02587 The Fileserver web application in Apache ActiveMQ 5.x before 5.14.0 allows remote… KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-26494 Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated users could perform RCE via Jolokia MBeans KEVCVSS 3.1HIGH 8.8
  • TI-2013-05951 Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not… CVSS 3.1CRITICAL 9.8
  • TI-2021-04451 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.1
  • TI-2021-04446 XStream is vulnerable to an Arbitrary Code Execution attack CVSS 3.1CRITICAL 9.8
See all 74 →

Sources