CVE-2026-40046
HIGH 7.5CVSS 3.1Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT vulnerable to Integer Overflow or Wraparound
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
- 9 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Awaiting Analysis
- Weakness
- CWE-190
- Also known as
- BIT-activemq-2026-40046GHSA-xvqc-pp94-fmpx
- Sources
- NVDJSONOSV GHSA-xvqc-pp94-fmpxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.apache.activemq:apache-activemq | >= 6.0.0, < 6.2.4 | 6.2.4 |
| OSV | Maven | org.apache.activemq:activemq-all | >= 6.0.0, < 6.2.4 | 6.2.4 |
| OSV | Maven | org.apache.activemq:activemq-mqtt | >= 6.0.0, < 6.2.4 | 6.2.4 |
References
- https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt · WEB
- https://lists.apache.org/thread/zdntj5rcgjjzrpow84o339lzldy68zrg · WEB
- https://www.cve.org/CVERecord?id=CVE-2025-66168 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40046 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Apr 2026)