Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend MQTT packet with invalid remaining length
-
ExploitInteger overflow in length validation
-
ExecutionTrigger denial of service
-
ImpactActiveMQ broker becomes unresponsive
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker can exploit Apache ActiveMQ 6.0.0 through 6.2.3 with MQTT protocol enabled. Attacker sends malformed MQTT control packet with improper remaining length field validation. No user interaction required. Affects deployments with MQTT support active; 5.19.x versions before 5.19.2 also vulnerable. |
| Impact | High-severity denial-of-service via unauthenticated network attack on MQTT control packet parsing. Integer overflow in remaining length field crashes ActiveMQ instances. CVSS 7.5 reflects availability impact without confidentiality/integrity compromise. Low EPSS (0.02%) indicates minimal observed exploitation activity currently, but regression from 5.19.2 fix to 6.0.0+ versions creates wide exposure window requiring urgent patching. |
| Exploit ScenarioDerived | Attacker sends malformed MQTT CONNECT packet with crafted remaining length field exceeding validation bounds. Integer wraparound triggers denial-of-service on unpatched 6.0.0-6.2.3 instances. No authentication required; exploit delivery via network simplicity makes patch application critical priority. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 09, 2026
Remote denial-of-service in Apache ActiveMQ 6.0.0 through 6.2.3 allows unauthenticated network attackers to crash the MQTT broker via malformed control packets. An integer overflow in the MQTT protocol handler's remaining length field validation enables resource exhaustion without authentication. This vulnerability stems from an incomplete patch - the fix for CVE-2025-66168 was applied only to 5.19.x branches but omitted from all 6.x releases until 6.2.4. No public exploit identified at time of analysis. Low observed exploitation activity (EPSS 0.02%).
RemediationAI
Vendor-released patch: upgrade to Apache ActiveMQ 6.2.4 or later for all 6.x deployments. Users on legacy 5.x branches must upgrade to 5.19.2 or later (latest: 5.19.5). No workarounds documented; patching is the only validated mitigation. If immediate upgrade is infeasible, disable MQTT transport connector in activemq.xml configuration to eliminate attack surface. Official advisory: https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt. Mailing list discussion: https://lists.apache.org/thread/zdntj5rcgjjzrpow84o339lzldy68zrg. Verify installed version and prioritize upgrade for internet-facing brokers.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 6 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-190 integer overflow occurs when parsing MQTT control packet remaining length field. Validation logic introduced for CVE-2025-66168 was not ported to 6.x codebase, allowing malformed packets to trigger wraparound conditions in memory allocation routines, causing broker process termination. CVSS vector PR:N confirms unauthenticated remote attack surface.
Know when Apache Activemq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
Lifecycle Timeline
2DescriptionCVE.org
Integer Overflow or Wraparound vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT.
The fix for "CVE-2025-66168: MQTT control packet remaining length field is not properly validated" was only applied to 5.19.2 (and future 5.19.x) releases but was missed for all 6.0.0+ versions.
This issue affects Apache ActiveMQ: from 6.0.0 before 6.2.4; Apache ActiveMQ All: from 6.0.0 before 6.2.4; Apache ActiveMQ MQTT: from 6.0.0 before 6.2.4.
Users are recommended to upgrade to version 6.2.4 or a 5.19.x version starting with 5.19.2 or later (currently latest is 5.19.5), which fixes the issue.
Blast Radius
ecosystem impact- 6 maven packages depend on org.apache.activemq:activemq-all (3 direct, 3 indirect)
- 6 maven packages depend on org.apache.activemq:activemq-mqtt (5 direct, 1 indirect)
Ecosystem-wide dependent count for version 6.0.0 and other introduced versions.
Executive ViewAI
Apache ActiveMQ versions 6.0.0 through 6.2.3 contain a remote denial-of-service vulnerability in the MQTT broker that allows unauthenticated attackers to crash the service via malformed control packets. Organizations running affected ActiveMQ versions risk service disruption and potential business continuity impact, with no currently available vendor patch to address the underlying integer overflow flaw.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict MQTT broker network access via firewall rules to trusted clients only; (2) Disable MQTT protocol if not operationally required; (3) Implement rate limiting and connection throttling on ActiveMQ broker; (4) Deploy network-based IDS/IPS signatures to detect malformed MQTT control packets; (5) Establish automated monitoring and alerting for broker crashes or availability anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
More in Apache Activemq
View allRemote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers t
Remote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to by
Remote code execution in Apache ActiveMQ allows authenticated attackers with admin console access to inject malicious Sp
Privilege escalation via improper authorization in Apache ActiveMQ before 5.19.8 and 6.0.0 before 6.2.7 lets an authenti
Denial-of-service in Apache ActiveMQ STOMP connectors lets a remote peer that can reach an exposed STOMP port crash or e
Denial of service in Apache ActiveMQ (Client, broker, and All distributions) before 5.19.8 and 6.x before 6.2.7 lets a r
Remote denial of service in Apache ActiveMQ (versions 5.19.7 and 6.2.6) allows an unauthenticated attacker to exhaust br
Improper input validation in Apache ActiveMQ lets an attacker who can write or modify LDAP entries matching the broker's
Out-of-memory denial of service in Apache ActiveMQ allows unauthenticated remote attackers to exhaust broker memory via
Stored XSS in Apache ActiveMQ and Apache ActiveMQ Web allows authenticated attackers to inject malicious HTML into JMS s
Improper path validation in Apache ActiveMQ Client and Broker allows authenticated users to traverse the classpath via c
EUVD-2026-20956
GHSA-xvqc-pp94-fmpx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB