Description
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.
Published: 2026-04-09
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Integer overflow in MQTT packet handling may cause denial of service
Action: Patch immediately
AI Analysis

Impact

An integer overflow or wraparound flaw exists in the handling of the MQTT control packet remaining length field. The vulnerability originates from a missing validation that was corrected only in 5.19.2 and later releases, but the patch was omitted in all 6.0.0 and higher releases up to 6.2.3. Using an unvalidated length field can lead to a corrupted packet parsing state, which in turn can crash the broker or render it unresponsive.

Affected Systems

The affected products are Apache ActiveMQ, Apache ActiveMQ All, and Apache ActiveMQ MQTT released by the Apache Software Foundation. All 6.0.0 through 6.2.3 versions are vulnerable. Versions 6.0.0 to before 6.2.4 (inclusive) are impacted. The 5.19.x line is vulnerable only before 5.19.2; versions 5.19.2 and newer, including the current 5.19.5, contain the fix.

Risk and Exploitability

No CVSS score is published and the EPSS score is unavailable, but the common weakness (integer overflow) suggests a moderate to high risk. The vulnerability is not listed in CISA’s Known Exploited Vulnerabilities catalog. Exploitation would require sending a specially crafted MQTT packet to the broker, which a remote actor can do by establishing a connection. Until the broker is updated, the system remains at risk of service interruption.

Generated by OpenCVE AI on April 9, 2026 at 17:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Apache ActiveMQ 6.2.4 or any later 6.x release, or to any 5.19.x release starting with 5.19.2
  • Confirm the broker’s version and verify that the patch has been applied
  • If an immediate upgrade is not possible, restrict MQTT traffic using firewall rules to reduce exposure until a patch can be applied

Generated by OpenCVE AI on April 9, 2026 at 17:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xvqc-pp94-fmpx Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT vulnerable to Integer Overflow or Wraparound
History

Sat, 11 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 10 Apr 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 10 Apr 2026 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache activemq
Apache activemq Mqtt
Vendors & Products Apache
Apache activemq
Apache activemq Mqtt

Thu, 09 Apr 2026 16:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT: Missing fix for CVE-2025-66168: MQTT control packet remaining length field is not properly validated
Weaknesses CWE-190
References

Subscriptions

Apache Activemq Activemq Mqtt
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-04-10T19:41:00.618Z

Reserved: 2026-04-08T15:21:53.253Z

Link: CVE-2026-40046

cve-icon Vulnrichment

Updated: 2026-04-10T19:38:51.473Z

cve-icon NVD

Status : Received

Published: 2026-04-09T17:16:31.650

Modified: 2026-04-10T20:16:22.430

Link: CVE-2026-40046

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-04-09T15:58:32Z

Links: CVE-2026-40046 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-10T09:32:19Z

Weaknesses