CVE-2026-40046
Received
Received - Intake
Integer Overflow in Apache ActiveMQ MQTT Allows Potential Exploitation
Publication date: 2026-04-09
Last updated on: 2026-04-10
Assigner: Apache Software Foundation
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | activemq | From 5.19.2 (inc) |
| apache | activemq | 5.19.* |
| apache | activemq | to 6.2.4 (exc) |
| apache | activemq | 6.2.4 |
| apache | activemq_all | to 6.2.4 (exc) |
| apache | activemq_all | 6.2.4 |
| apache | activemq_mqtt | to 6.2.4 (exc) |
| apache | activemq_mqtt | 6.2.4 |
| apache | activemq | From 6.0.0 (inc) to 6.2.4 (exc) |
| apache | activemq_all | From 6.0.0 (inc) to 6.2.4 (exc) |
| apache | activemq_mqtt | From 6.0.0 (inc) to 6.2.4 (exc) |
| apache | activemq | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-190 | The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. |