Skip to main content

Apache Activemq CVE-2026-40046

| EUVDEUVD-2026-20956 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-04-09 apache GHSA-xvqc-pp94-fmpx
7.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send MQTT packet with invalid remaining length
  2. Exploit
    Integer overflow in length validation
  3. Execution
    Trigger denial of service
  4. Impact
    ActiveMQ 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache ActiveMQ All 6.0.0 <6.2.4
Apache ActiveMQ 6.0.0 <6.2.4
Apache ActiveMQ MQTT 6.0.0 <6.2.4

Affected Packages

maven org.apache.activemq:activemq-all fix: 6.2.4
maven org.apache.activemq:activemq-mqtt fix: 6.2.4
maven org.apache.activemq:apache-activemq fix: 6.2.4
euvd apache_activemq fix: 6.2.4
euvd apache_activemq_all fix: 6.2.4
euvd apache_activemq_mqtt fix: 6.2.4

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

Vendor (apache) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 5.4 MEDIUM

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

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

Lifecycle Timeline

2
Patch released
Apr 10, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 09, 2026 - 15:58 nvd
HIGH 7.5

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.apache.activemq:activemq-all (3 direct, 3 indirect)

Ecosystem-wide dependent count for version 6.0.0.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-34197 HIGH POC
8.8 Apr 07

Remote code execution in Apache ActiveMQ Classic versions before 5.19.5 and 6.0.0-6.2.2 allows authenticated attackers t

CVE-2026-40466 HIGH POC
8.8 Apr 24

Remote code execution in Apache ActiveMQ 5.x (before 5.19.6) and 6.x (before 6.2.5) allows authenticated attackers to by

CVE-2026-41044 HIGH
8.8 Apr 24

Remote code execution in Apache ActiveMQ allows authenticated attackers with admin console access to inject malicious Sp

CVE-2026-49877 HIGH
8.1 Jun 30

Privilege escalation via improper authorization in Apache ActiveMQ before 5.19.8 and 6.0.0 before 6.2.7 lets an authenti

CVE-2026-49432 HIGH
7.5 Jun 30

Denial-of-service in Apache ActiveMQ STOMP connectors lets a remote peer that can reach an exposed STOMP port crash or e

CVE-2026-50734 HIGH
7.5 Jun 30

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

CVE-2026-50750 HIGH
7.5 Jun 30

Remote denial of service in Apache ActiveMQ (versions 5.19.7 and 6.2.6) allows an unauthenticated attacker to exhaust br

CVE-2026-49434 HIGH
7.5 Jun 30

Improper input validation in Apache ActiveMQ lets an attacker who can write or modify LDAP entries matching the broker's

CVE-2026-39304 HIGH
7.5 Apr 10

Out-of-memory denial of service in Apache ActiveMQ allows unauthenticated remote attackers to exhaust broker memory via

CVE-2026-41043 MEDIUM
6.5 Apr 24

Stored XSS in Apache ActiveMQ and Apache ActiveMQ Web allows authenticated attackers to inject malicious HTML into JMS s

CVE-2026-33227 MEDIUM
4.3 Apr 07

Improper path validation in Apache ActiveMQ Client and Broker allows authenticated users to traverse the classpath via c

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy