Integer overflow in Apache ActiveMQ
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache ActiveMQ | 6.0.0 to before 6.2.4 | 6.2.4 | Patch available | CNA |
| Apache | Apache ActiveMQ All | 6.0.0 to before 6.2.4 | 6.2.4 | Patch available | CNA |
| Apache | Apache ActiveMQ MQTT | 6.0.0 to before 6.2.4 | 6.2.4 | Patch available | CNA |
| — | org.apache.activemq:apache-activemq (Maven) | 6.0.0 to before 6.2.4 | 6.2.4 | Patch available | GHSA-xvqc-pp94-fmpx |
| — | org.apache.activemq:activemq-all (Maven) | 6.0.0 to before 6.2.4 | 6.2.4 | Patch available | GHSA-xvqc-pp94-fmpx |
| — | org.apache.activemq:activemq-mqtt (Maven) | 6.0.0 to before 6.2.4 | 6.2.4 | Patch available | GHSA-xvqc-pp94-fmpx |
- Apache ActiveMQ VendorApache Affected 6.0.0 to before 6.2.4 Fixed in 6.2.4 Patch available CNA
- Apache ActiveMQ All VendorApache Affected 6.0.0 to before 6.2.4 Fixed in 6.2.4 Patch available CNA
- Apache ActiveMQ MQTT VendorApache Affected 6.0.0 to before 6.2.4 Fixed in 6.2.4 Patch available CNA
- org.apache.activemq:apache-activemq (Maven) Vendor— Affected 6.0.0 to before 6.2.4 Fixed in 6.2.4 Patch available GHSA-xvqc-pp94-fmpx
- org.apache.activemq:activemq-all (Maven) Vendor— Affected 6.0.0 to before 6.2.4 Fixed in 6.2.4 Patch available GHSA-xvqc-pp94-fmpx
- org.apache.activemq:activemq-mqtt (Maven) Vendor— Affected 6.0.0 to before 6.2.4 Fixed in 6.2.4 Patch available GHSA-xvqc-pp94-fmpx
Remediation
- Fix · CNA Apache ActiveMQ (Apache Software Foundation) Fixed in 6.2.4
- Fix · CNA Apache ActiveMQ All (Apache Software Foundation) Fixed in 6.2.4
- Fix · CNA Apache ActiveMQ MQTT (Apache Software Foundation) Fixed in 6.2.4
- Fix · GHSA-xvqc-pp94-fmpx org.apache.activemq:apache-activemq (Maven) Fixed in 6.2.4 Advisory →
- Fix · GHSA-xvqc-pp94-fmpx org.apache.activemq:activemq-all (Maven) Fixed in 6.2.4 Advisory →
- Fix · GHSA-xvqc-pp94-fmpx org.apache.activemq:activemq-mqtt (Maven) Fixed in 6.2.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 3 products
- Red Hat Fuse 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform Expansion Pack
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40046
- 2026-10-03 Alias added: GHSA-xvqc-pp94-fmpx
- 2026-10-25 Priority changed: MEDIUM → LOW
References
More Apache vulnerabilities
- TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Apache OFBiz: Confused controller-view authorization logic (forced browsing) KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Apache OFBiz: Unauthenticated endpoint could allow execution of screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Apache OFBiz: Path traversal leading to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2024-18186 Apache HugeGraph-Server: Command execution in gremlin KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25106 Deserialization of untrusted data in Apache ActiveMQ KEVCVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-40046 · CVE Program
- CVE-2026-40046 · NVD
- FIRST EPSS
- GHSA-xvqc-pp94-fmpx · GitHub Advisory Database · CC BY 4.0
- CVE-2026-40046 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences