CVE-2025-66168: Apache ActiveMQ, Apache ActiveMQ All Module, Apache ActiveMQ MQTT Module: MQTT control packet remaining length field is not properly validated
CVE-2025-66168 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- High
- CVSS base score
- 5.4 (NetApp)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N· base score 5.4, scored by apacheAttack vector: network. Attack complexity: low. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: low. Integrity impact: low. Availability impact: none.- Weakness
- CWE-190 Integer Overflow or Wraparound
- EPSS
- 0.82% chance of exploitation in the next 30 days (58th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Assigned by
- apache (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2025-66168; each belongs to its advisory, not to every product listed. How records are collected and checked.
Am I affected by CVE-2025-66168?
You are affected if you run the NetApp products in the advisory at one of the versions below. No fixed version listed by the vendor yet.
| Affected | Fixed in |
|---|---|
| NetApp: 6.2.0 | No fixed version listed by the vendor yet |
| NetApp: 6.2.4 | No fixed version listed by the vendor yet |
| NetApp: 6.0.0 | No fixed version listed by the vendor yet |
| NetApp: 6.1.8 | No fixed version listed by the vendor yet |
| NetApp: 5.19.2 | No fixed version listed by the vendor yet |
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.
Text from the CVE.org record (apache).
Vendor advisories for CVE-2025-66168
Apache
1 advisory- Advisory severityHigh7.5
High [CVE-2025-66168 +1] Apache ActiveMQ: Integer Overflow or Wraparound vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT.
CVE-2026-40046Source published Source updated
This bulletin covers 2 CVEs. The products, versions, score and guidance below describe the bulletin; check its source for applicability to this specific CVE.
Integer Overflow or Wraparound vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT. The fix for "CVE-2025-66168: MQTT control packet remaining length field is not properly validated" was only applied to 5.19.2 (and future 5.19.x) releases but was missed for all 6.0.0+ versions. This issue affects Apache ActiveMQ: from 6.0.0 before 6.2.4; Apache ActiveMQ All: from 6.0.0 before 6.2.4; Apache ActiveMQ MQTT: from 6.0.0 before 6.2.4. Users are recommended to upgrade to version 6.2.4 or a 5.19.x version starting with 5.19.2 or later (currently latest is 5.19.5), which fixes the issue.
- Affected products in this advisory
- Apache ActiveMQ
- Apache ActiveMQ All
- Apache ActiveMQ MQTT
- ActiveMQ
- Source-reported affected versions
- 6.0.0 through 6.2.4
- 6.0.0 through 6.2.4.
- Source-reported fixed versions
- 6.2.4
- 5.19.2
- 5.19.5
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
NetApp
1 advisory- Advisory severityMedium5.4
Medium [CVE-2025-66168] Apache ActiveMQ Vulnerability in NetApp Products
NTAP-20260422-0001Source published Source updated
Multiple NetApp products incorporate Apache ActiveMQ. Apache ActiveMQ versions 6.2.0 prior to 6.2.4, 6.0.0 through 6.1.8, and prior to 5.19.2 are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information or addition or modification of data. NetApp states there is no workaround available at this time.
- Affected products in this advisory
- No product details extracted. Check the source bulletin.
- Source-reported affected versions
- 6.2.0
- 6.2.4
- 6.0.0
- 6.1.8
1 more entries in the full advisory.
- Source-reported fixed versions
- No fixed-version detail extracted. This does not mean no fix exists.
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
References
Timeline
- CVE record published
- CVE record last updated
- First vendor advisory listed by VulniPulse
More Apache advisories
CVE-2026-34197Apr 7, 2026Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQ: Authenticated usersCVE-2026-39304Apr 10, 2026Apache ActiveMQ Client, Apache ActiveMQ Broker, Apache ActiveMQ All, Apache ActiveMQCVE-2026-108500Nov 4, 2026Apache ActiveMQ: LDAPAuthorizationMap allows authorization bypass via DN injectionCVE-2026-108946Nov 4, 2026Improper input validation vulnerability in Apache ActiveMQ, Apache ActiveMQ KahaDBCVE-2026-111822Nov 4, 2026Apache ActiveMQ, Apache ActiveMQ Runtime Config: ActiveMQ retains write access after liveCVE-2026-111821Nov 4, 2026Apache ActiveMQ, Apache ActiveMQ KahaDB: Oversized client identifier strings poison
Get an email when Apache publishes the next one.
See Apache's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).