CVE-2026-40046
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT vulnerable to Integer Overflow or Wraparound
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.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.activemq » activemq-all | >= 6.0.0, < 6.2.4 | 6.2.4 |
| org.apache.activemq » activemq-mqtt | >= 6.0.0, < 6.2.4 | 6.2.4 |
| org.apache.activemq » apache-activemq | >= 6.0.0, < 6.2.4 | 6.2.4 |
Blast radius
16% of the dependent artifacts (7) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 144 |
| 2 hops | 91 |
| 3 hops | 18 |
| 4 hops | 36 |
| 5 hops | 144 |
| 6 hops | 18 |
Most used dependents
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- org.apache.activemq » activemq-osgi43 usages
- org.apache.activemq » activemq-karaf29 usages
- org.apache.activemq » activemq-http25 usages
- org.apache.activemq » activemq-web25 usages
- org.apache.activemq » activemq-rar16 usages
- com.atlassian.bamboo » atlassian-bamboo-deployments16 usages
- org.apache.activemq » apache-activemq15 usages
- com.atlassian.bamboo » atlassian-bamboo-web-app15 usages
- org.apache.activemq » activemq-unit-tests13 usages
- org.apache.activemq » activemq-web-console10 usages
- com.atlassian.bamboo » atlassian-bamboo-agent-core9 usages
- com.atlassian.bamboo » atlassian-bamboo-agent-remote9 usages
- com.atlassian.bamboo.plugins » atlassian-bamboo-plugin-clover7 usages
- org.apache.activemq.tooling » activemq-maven-plugin6 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
