UBUNTU-CVE-2025-66168

Source
https://ubuntu.com/security/CVE-2025-66168
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-66168
Upstream
Published
2026-03-04T09:15:00Z
Modified
2026-09-16T14:01:31Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • 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
  • Ubuntu - medium
Summary
[none]
Details

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: https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt https://www.cve.org/CVERecord?id=CVE-2026-40046 Original Report: 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

Ubuntu:24.04:LTS
activemq

Package

Name
activemq
Purl
pkg:deb/ubuntu/activemq?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.17.2+dfsg-2
5.17.6+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "activemq",
            "binary_version": "5.17.6+dfsg-1"
        },
        {
            "binary_name": "libactivemq-java",
            "binary_version": "5.17.6+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json"
Ubuntu:25.10
activemq

Package

Name
activemq
Purl
pkg:deb/ubuntu/activemq?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.17.6+dfsg-1
5.17.6+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "activemq",
            "binary_version": "5.17.6+dfsg-2"
        },
        {
            "binary_name": "libactivemq-java",
            "binary_version": "5.17.6+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json"
Ubuntu:26.04:LTS
activemq

Package

Name
activemq
Purl
pkg:deb/ubuntu/activemq?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.17.6+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "activemq",
            "binary_version": "5.17.6+dfsg-2"
        },
        {
            "binary_name": "libactivemq-java",
            "binary_version": "5.17.6+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json"
Ubuntu:Pro:16.04:LTS
activemq

Package

Name
activemq
Purl
pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.6.0+dfsg1-4+deb8u1ubuntu1
5.6.0+dfsg1-5
5.13.2+dfsg-2
5.13.2+dfsg-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "activemq",
            "binary_version": "5.13.2+dfsg-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "libactivemq-java",
            "binary_version": "5.13.2+dfsg-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json"
Ubuntu:Pro:18.04:LTS
activemq

Package

Name
activemq
Purl
pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.14.5-3
5.15.2-2
5.15.3-2
5.15.8-2~18.04
5.15.8-2~18.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "activemq",
            "binary_version": "5.15.8-2~18.04.1~esm1"
        },
        {
            "binary_name": "libactivemq-java",
            "binary_version": "5.15.8-2~18.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json"
Ubuntu:Pro:20.04:LTS
activemq

Package

Name
activemq
Purl
pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.15.10-1
5.15.11-1
5.15.11-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "activemq",
            "binary_version": "5.15.11-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libactivemq-java",
            "binary_version": "5.15.11-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json"
Ubuntu:Pro:22.04:LTS
activemq

Package

Name
activemq
Purl
pkg:deb/ubuntu/activemq?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.16.1-1
5.16.1-1ubuntu0.1~esm1
5.16.1-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "activemq",
            "binary_version": "5.16.1-1ubuntu0.1"
        },
        {
            "binary_name": "libactivemq-java",
            "binary_version": "5.16.1-1ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-66168.json"