CVE-2026-40046 and CVE-2025-66168: Apache ActiveMQ: Integer Overflow or Wraparound vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT
This Apache advisory covers CVE-2026-40046 and CVE-2025-66168 in Apache ActiveMQ, Apache ActiveMQ All and Apache ActiveMQ MQTT. Its rating, versions and guidance apply to the bulletin as a whole, not to each of its 2 CVEs.
Am I affected?
You are affected if you run Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT at one of the versions below. If you do, upgrade to the fixed release listed for your version. The versions cover the whole bulletin, not each of its 2 CVEs.
| Affected |
|---|
| 6.0.0 through 6.2.4 |
| 6.0.0 through 6.2.4. |
Fixed releases listed by the vendor: 6.2.4, 5.19.2, 5.19.5
Official advisory · high-confidence parse· fetched ·verify at source
Key facts
- Bulletin rating
- High, CVSS 7.5
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
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.
Text from the source record.
Fix and mitigation
Fixed releases named by the bulletin:
- 6.2.4
- 5.19.2
- 5.19.5
More Apache Software Foundation advisories
CVE-2026-34197Apr 7, 2026Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated usersCVE-2026-39304Apr 10, 2026Apache ActiveMQ Client, Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQCVE-2026-108500Nov 4, 2026Apache ActiveMQ: LDAPAuthorizationMap allows authorization bypass via DN injectionCVE-2026-108946Nov 4, 2026Improper input validation vulnerability in Apache ActiveMQ, Apache ActiveMQ KahaDBCVE-2026-111822Nov 4, 2026Apache ActiveMQ, Apache ActiveMQ Runtime Config: ActiveMQ retains write access after liveCVE-2026-111821Nov 4, 2026Apache ActiveMQ, Apache ActiveMQ KahaDB: Oversized client identifier strings poison
Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories
Get an email when Apache Messaging (ActiveMQ/Kafka/Pulsar) publishes the next one.
See Apache Messaging (ActiveMQ/Kafka/Pulsar)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).