WaratekVRT Sign in

CVE-2025-66168 apache activemq

Affected softwareapache activemq
Severity8.8 High CVSS 3.1 2 scores
Fixed in5.19.2, 6.1.9, 6.2.1
WeaknessInteger overflow (CWE-190)
Published4 Mar 2026
Updated17 Jun 2026

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. 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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.87% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

8.8 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 5.4 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N security@apache.org Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.activemq:apache-activemq 0 5.19.2 unbounded
org.apache.activemq:apache-activemq 6.0.0 6.1.9 unbounded
org.apache.activemq:apache-activemq 6.2.0 6.2.1 unbounded
org.apache.activemq:activemq-all 0 5.19.2 unbounded
org.apache.activemq:activemq-all 6.0.0 6.1.9 unbounded
org.apache.activemq:activemq-all 6.2.0 6.2.1 unbounded
org.apache.activemq:activemq-mqtt 0 5.19.2 unbounded
org.apache.activemq:activemq-mqtt 6.0.0 6.1.9 unbounded
org.apache.activemq:activemq-mqtt 6.2.0 6.2.1 unbounded

Products and versions

4 products, 12 version entries
SourceVendorProductSchemeAffected versions
nvd apache activemq generic < 5.19.2 · ≥ 6.0.0 and ≤ 6.1.8 · 6.2.0
osv org.apache.activemq activemq-all generic < 5.19.2 · ≥ 6.0.0 and < 6.1.9 · ≥ 6.2.0 and < 6.2.1
osv org.apache.activemq activemq-mqtt generic < 5.19.2 · ≥ 6.0.0 and < 6.1.9 · ≥ 6.2.0 and < 6.2.1
osv org.apache.activemq apache-activemq generic < 5.19.2 · ≥ 6.0.0 and < 6.1.9 · ≥ 6.2.0 and < 6.2.1

References

URLTags
https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt WEB
https://github.com/apache/activemq PACKAGE
https://lists.apache.org/thread/13n8mkrb2jf2y6yyhpgrkmpqcm7djyto WEB
https://www.cve.org/CVERecord?id=CVE-2026-40046 WEB
http://www.openwall.com/lists/oss-security/2026/03/03/5 WEB

Timeline

Published2026-03-04By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.