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

Published Apr 9, 2026
·
Updated

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.

Other sources

WARNING:

Users of 6.x should upgrade to 6.2.4 or later as the fix was missed in previous 6.x releases.

See the  following for more details:

IBM

Affected Software

5 affected componentsFixes available
maven/org.apache.activemq:activemq-mqtt>=6.0.0<6.2.4
6.2.4
maven/org.apache.activemq:activemq-all>=6.0.0<6.2.4
6.2.4
maven/org.apache.activemq:apache-activemq>=6.0.0<6.2.4
6.2.4
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.7.2.1 - 9.7.2.11
IBM Engineering Requirements Management DOORS and DOORS Web Access<=9.6.1.1 - 9.6.1.13

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.activemq:activemq-mqtt to a version that resolves this vulnerability.

    Fixed in 6.2.4
  2. Upgrade

    Upgrade maven/org.apache.activemq:activemq-all to a version that resolves this vulnerability.

    Fixed in 6.2.4
  3. Upgrade

    Upgrade maven/org.apache.activemq:apache-activemq to a version that resolves this vulnerability.

    Fixed in 6.2.4
  4. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 6.2.4
  5. Upgrade

    Upgrade Apache ActiveMQ All to a version that resolves this vulnerability.

    Fixed in 6.2.4
  6. Upgrade

    Upgrade Apache ActiveMQ MQTT to a version that resolves this vulnerability.

    Fixed in 6.2.4
  7. Upgrade

    Upgrade Apache ActiveMQ to a version that resolves this vulnerability.

    Fixed in 5.19.2
  8. Upgrade

    Upgrade Apache ActiveMQ All to a version that resolves this vulnerability.

    Fixed in 5.19.2
  9. Upgrade

    Upgrade Apache ActiveMQ MQTT to a version that resolves this vulnerability.

    Fixed in 5.19.2

Event History

Apr 9, 2026
CVE Published
via MITRE·03:58 PM
Data Sourced
via MITRE·03:58 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionSeverityWeaknessAffected Software
Jul 6, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40046?

CVE-2026-40046 has a high severity due to the potential for integer overflow or wraparound vulnerabilities in Apache ActiveMQ.

2

How do I fix CVE-2026-40046?

You can fix CVE-2026-40046 by upgrading to Apache ActiveMQ version 6.2.4.

3

What components are affected by CVE-2026-40046?

CVE-2026-40046 affects Apache ActiveMQ MQTT, ActiveMQ All, and the core Apache ActiveMQ package.

4

Is CVE-2026-40046 related to any previous vulnerabilities?

Yes, CVE-2026-40046 is related to the earlier vulnerability identified as CVE-2025-66168.

5

What types of attacks can CVE-2026-40046 enable?

CVE-2026-40046 can potentially enable attackers to exploit the MQTT control packet due to the missing validation of the remaining length field.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203