Skip to content
OpenAdvisories
High · 7.5 CVE-2026-40046 BIT-activemq-2026-40046EUVD-2026-20956GHSA-xvqc-pp94-fmpx

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 Apr 10, 2026 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache ActiveMQ 6.0.0 – < 6.2.4 6.2.4
Apache Software Foundation Apache ActiveMQ All 6.0.0 – < 6.2.4 6.2.4
Apache Software Foundation Apache ActiveMQ MQTT 6.0.0 – < 6.2.4 6.2.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 activemq No fix yet —
Ubuntu 26.04 LTS activemq No fix yet —
Ubuntu 25.10 activemq No fix yet —
Ubuntu 24.04 LTS activemq No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS activemq No fix yet —
Ubuntu Pro 20.04 LTS activemq No fix yet —
Ubuntu Pro 18.04 LTS activemq No fix yet —
Ubuntu Pro 16.04 LTS activemq No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.activemq:activemq-all >= 6.0.0, < 6.2.4 6.2.4 GHSA-xvqc-pp94-fmpx
Maven org.apache.activemq:activemq-mqtt >= 6.0.0, < 6.2.4 6.2.4 GHSA-xvqc-pp94-fmpx
Maven org.apache.activemq:apache-activemq >= 6.0.0, < 6.2.4 6.2.4 GHSA-xvqc-pp94-fmpx

Advisories 2

References