All vulnerabilities

Servers and applications

CVE-2025-66168

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…

Severity
High 8.8
Published
4 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
5.19.2
Exploit chance
0.9% in the next 30 daysHigher than 59% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Integer overflow (CWE-190)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
NVD

Description

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.

From NVD. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Apache ActiveMQServers and applications · cpe:a:apache:activemq
  • Every version before 5.19.2
  • From 6.0.0 up to 6.1.8
  • Version 6.2.0

About Apache ActiveMQ

message broker software

From Wikidata, CC0 1.0.
Docker Hub pulls
5,035,135Docker Hub, 15 Nov 2026
GitHub stars
2,461GitHub, 15 Nov 2026
Forks
1,510GitHub, 15 Nov 2026
Latest release
activemq-6.4.0GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
Developer
Apache Software FoundationWikidata
License
Apache Software License 2.0Wikidata
Written in
Java, C, C++Wikidata
First released
27 Mar 2006Wikidata
First published on GitHub
21 May 2009GitHub

Release lines

ReleaseLatestSecurity fixes
6.46.4.0Yes
6.36.3.3Yes
6.26.2.10Yes
5.195.19.12Yes
6.16.1.8Ended 2 Dec 2025
6.06.0.1Ended 17 Mar 2024

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-66168
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-66168