CVEBrief

Home / Apache Software Foundation / Apache ActiveMQ / CVE-2025-66168

CVE-2025-66168: is it exploited, and which versions of Apache Software Foundation Apache ActiveMQ are affected and fixed?

CVE-2025-66168 is an integer overflow vulnerability in Apache Software Foundation Apache ActiveMQ. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: org.apache.activemq:apache-activemq before 5.19.2, org.apache.activemq:apache-activemq from 6.0.0 before 6.1.9, org.apache.activemq:apache-activemq from 6.2.0 before 6.2.1 and 6 more (GitHub advisory GHSA-c825-6ph3-4h84). Fixed in 5.19.2, 6.1.9 and 6.2.1 (GitHub advisory GHSA-c825-6ph3-4h84). Severity: Medium (5.4, CVSS 3.1, from apache).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:13 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:39 UTC
Affected
org.apache.activemq:apache-activemq before 5.19.2, org.apache.activemq:apache-activemq from 6.0.0 before 6.1.9, org.apache.activemq:apache-activemq from 6.2.0 before 6.2.1 and 6 more
GitHub advisory GHSA-c825-6ph3-4h84
Fixed in
5.19.2, 6.1.9 and 6.2.1
GitHub advisory GHSA-c825-6ph3-4h84
Severity
Medium 5.4
CVSS 3.1 from apache
Exploit odds (EPSS)
0.82% in 30 days
higher than 59% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-66168?

Apache ActiveMQ, Apache ActiveMQ All Module, Apache ActiveMQ MQTT Module: MQTT control packet remaining length field is not properly validated

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.

From the CVE record by apache, last updated April 10, 2026, 10:52 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache ActiveMQ org.apache.activemq:apache-activemqbefore 5.19.2
from 6.0.0 before 6.1.9
from 6.2.0 before 6.2.1
5.19.2, 6.1.9, 6.2.1
Apache Software FoundationApache ActiveMQ All Module org.apache.activemq:activemq-allbefore 5.19.2
from 6.0.0 before 6.1.9
from 6.2.0 before 6.2.1
5.19.2, 6.1.9, 6.2.1
Apache Software FoundationApache ActiveMQ MQTT Module org.apache.activemq:activemq-mqttbefore 5.19.2
from 6.0.0 before 6.1.9
from 6.2.0 before 6.2.1
5.19.2, 6.1.9, 6.2.1

As the CVE record by apache states it, last updated April 10, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 10, 2026. Summary: Apache ActiveMQ is Vulnerable to Integer Overflow or Wraparound.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
apacheactivemqbefore 5.19.2application
apacheactivemqfrom 6.0.0 through 6.1.8application
apacheactivemq6.2.0application

NVD analysis (status Modified), last modified June 17, 2026, 09:56 UTC.

How severe is CVE-2025-66168?

ScoreVersionVectorSource
Medium 5.4CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Napache
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-66168 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 4, 2026)
EPSS
0.82% probability of exploitation activity in the next 30 days, percentile 58.5 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
November 21, 2025
Published
March 4, 2026, 08:45 UTC
CVE record updated
April 10, 2026, 10:52 UTC by apache
NVD
Modified, last modified June 17, 2026, 09:56 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Apache ActiveMQ?

Every CVE in Apache ActiveMQ

Questions about CVE-2025-66168

Is CVE-2025-66168 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.82% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Apache Software Foundation Apache ActiveMQ are affected by CVE-2025-66168?

org.apache.activemq:apache-activemq before 5.19.2, org.apache.activemq:apache-activemq from 6.0.0 before 6.1.9, org.apache.activemq:apache-activemq from 6.2.0 before 6.2.1, org.apache.activemq:activemq-all before 5.19.2, org.apache.activemq:activemq-all from 6.0.0 before 6.1.9, org.apache.activemq:activemq-all from 6.2.0 before 6.2.1 and 3 more, per the GitHub advisory GHSA-c825-6ph3-4h84. The tables above give every range the sources list.

Which version fixes CVE-2025-66168?

5.19.2, 6.1.9 and 6.2.1, per the GitHub advisory GHSA-c825-6ph3-4h84. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-66168?

Medium (5.4, CVSS 3.1, from apache). The severity table above shows each score with its source.

Where is the official record of CVE-2025-66168?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.