CVE-2026-40046

EUVD-2026-20956
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
apacheCNA
UNKNOWN
---
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
VendorProductVersionSource
apacheactivemq
6.0.0 ≤
𝑥
< 6.2.4
CNA
Debian logo
Debian Releases
Debian Product
Codename
activemq
bookworm
5.17.2+dfsg-2+deb12u1
fixed
bookworm (security)
5.17.2+dfsg-2+deb12u1
fixed
bullseye
5.16.1-1
fixed
bullseye (security)
5.16.1-1+deb11u2
fixed
sid
5.17.6+dfsg-2
fixed
trixie
5.17.6+dfsg-2
fixed