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 · NVD
Share

Severity by source

NVD 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
qualitative

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
Patch released
Apr 10, 2026 - 20:30 nvd
Patch available
EUVD ID Assigned
Apr 09, 2026 - 16:30 euvd
EUVD-2026-20956
Analysis Generated
Apr 09, 2026 - 16:30 vuln.today
CVE Published
Apr 09, 2026 - 15:58 nvd
HIGH 7.5

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)
  • 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.

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.

AnalysisAI

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%).

Technical ContextAI

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.

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.

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

Share

CVE-2026-40046 vulnerability details – vuln.today

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