CVE-2026-40046
CVE-2026-40046 · Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT: Missing fix for CVE-2025-66168: MQTT control packet remaining length field is not properly validated
CVSS 7.5 · High · EPSS 0.4% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- apache activemqUpdate to 6.2.4
- apache activemq allUpdate to 6.2.4
- apache activemq mqttUpdate to 6.2.4
- activemq Ubuntu Pro 16.04 LTSNo fix published
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="activemq"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Updated
Stack: system
Affected products and versions
apache activemq
- Versions
- ≥ 6.0.0, < 6.2.4: Affected (semver)
Update to 6.2.4
apache activemq all
- Versions
- ≥ 6.0.0, < 6.2.4: Affected (semver)
Update to 6.2.4
apache activemq mqtt
- Versions
- ≥ 6.0.0, < 6.2.4: Affected (semver)
Update to 6.2.4
activemq Ubuntu Pro 16.04 LTS
- Versions
- 5.6.0+dfsg1-4+deb8u1ubuntu1
- 5.6.0+dfsg1-5
- 5.13.2+dfsg-2
- 5.13.2+dfsg-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu Pro 18.04 LTS
- Versions
- 5.14.5-3
- 5.15.2-2
- 5.15.3-2
- 5.15.8-2~18.04
- 5.15.8-2~18.04.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu Pro 20.04 LTS
- Versions
- 5.15.10-1
- 5.15.11-1
- 5.15.11-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu Pro 22.04 LTS
- Versions
- 5.16.1-1
- 5.16.1-1ubuntu0.1~esm1
- 5.16.1-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 24.04 LTS
- Versions
- 5.17.2+dfsg-2
- 5.17.6+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 25.10
- Versions
- 5.17.6+dfsg-1
- 5.17.6+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 26.10
- Versions
- 5.17.6+dfsg-2
- 5.17.6+dfsg-2ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
activemq Ubuntu 26.04 LTS
- Versions
- 5.17.6+dfsg-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published