← All Advisories

Apache ActiveMQ 6.x Did Not Receive the MQTT Remaining-Length Integer Overflow Fix Applied to 5.19.x, Leaving Versions 6.0.0 Through 6.2.3 Vulnerable

Last refreshed2026-09-30

Status: NEW  |  Advisory ID: CVE-2026-40046

Key Details

CVECVE-2026-40046
CVSS Score / Version7.5 (High) / CVSS v3.1
Updated2026-06-17
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Proseattack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is none; integrity impact is none; availability impact is high.
Classified asCWE-190 (Integer Overflow or Wraparound)

What to Know

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. (NVD)

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-40046
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-40046