PT-2026-31651 · Apache · Apache Activemq
Adrien Bernard
·
Published
2026-03-04
·
Updated
2026-05-03
·
CVE-2026-40046
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Apache ActiveMQ versions 6.0.0 through 6.1.8, 6.2.0, and prior to 5.19.2
Description
An integer overflow or wraparound issue exists in Apache ActiveMQ when decoding malformed packets. This occurs due to improper validation of the remaining length field in MQTT control packets, potentially leading to misinterpretation of the payload and unexpected broker behavior when interacting with non-compliant clients. The issue violates the MQTT v3.1.1 specification, which limits the Remaining Length to a maximum of 4 bytes. The scenario occurs on established connections after authentication. Brokers not using MQTT transport connectors are not impacted.
Recommendations
Upgrade to version 5.19.2 or later.
Upgrade to version 6.1.9.
Upgrade to version 6.2.1.
Upgrade to version 6.2.4 or later.
Fix
Integer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Activemq