CVE-2025-66168

Source
https://cve.org/CVERecord?id=CVE-2025-66168
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66168.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-66168
Aliases
Downstream
Related
Published
2026-03-04T09:15:54.757Z
Modified
2026-03-18T17:58:58.124931Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Apache ActiveMQ does not properly validate the remaining length field which may lead to an overflow during the decoding of malformed packets. When this integer overflow occurs, ActiveMQ may incorrectly compute the total Remaining Length and subsequently misinterpret the payload as multiple MQTT control packets which makes the broker susceptible to unexpected behavior when interacting with non-compliant clients. This behavior violates the MQTT v3.1.1 specification, which restricts Remaining Length to a maximum of 4 bytes. The scenario occurs on established connections after the authentication process. Brokers that are not enabling mqtt transport connectors are not impacted.

This issue affects Apache ActiveMQ: before 5.19.2, 6.0.0 to 6.1.8, and 6.2.0

Users are recommended to upgrade to version 5.19.2, 6.1.9, or 6.2.1, which fixes the issue.

References

Affected packages

Git / github.com/apache/activemq

Affected ranges

Type
GIT
Repo
https://github.com/apache/activemq
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.19.2"
        },
        {
            "introduced": "6.0.0"
        },
        {
            "last_affected": "6.1.8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "6.2.0"
        }
    ]
}

Affected versions

activemq-6.*
activemq-6.0.0
activemq-6.1.0
activemq-6.1.1
activemq-6.1.2
activemq-6.1.3
activemq-6.1.4
activemq-6.1.5
activemq-6.1.6
activemq-6.1.7
activemq-6.1.8
activemq-6.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66168.json"