CVE-2026-40046Apache Software Foundation Apache ActiveMQ Integer Overflow or Wraparound
NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Vulnerability Summary
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.
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.
CVSS v3.1 Base Metrics — Score 7.5 (HIGH)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- Apache Software Foundation Apache ActiveMQ >= 6.0.0 and < 6.2.4
- Apache Software Foundation Apache ActiveMQ All >= 6.0.0 and < 6.2.4
- Apache Software Foundation Apache ActiveMQ MQTT >= 6.0.0 and < 6.2.4
- Apache Software Foundation Apache ActiveMQ 6.2.4
- Apache Software Foundation Apache ActiveMQ All 6.2.4
- Apache Software Foundation Apache ActiveMQ MQTT 6.2.4
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run Apache Software Foundation Apache ActiveMQ and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Apr 9, 2026Published
- Oct 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Apache Software Foundation Apache ActiveMQ CVEsYou are reading CVE-2026-40046. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 23, 2026 12:13 UTC