Apache Software Foundation Apache ActiveMQ
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT: Missing fix for CVE-2025-66168: MQTT control packet remaining length field is not properly validated
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 6.0.0, < 6.2.4
Fixed in 6.2.4
- >= 6.0.0, < 6.2.4
Fixed in 6.2.4
- >= 6.0.0, < 6.2.4
Fixed in 6.2.4
Mitigation
Upgrade Apache ActiveMQ to 6.2.4 or later.
Upgrade Apache ActiveMQ All to 6.2.4 or later.
Upgrade Apache ActiveMQ MQTT to 6.2.4 or later.
References
- Vendor advisory activemq.apache.org/security-advisories.data/CVE-2026-4…
- Vendor advisory lists.apache.org/thread/zdntj5rcgjjzrpow84o339lzldy6…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.