7.5high
Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT: Missing fix for CVE-2025-66168: MQTT control packet remaining length field is not properly validated
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.39% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-xvqc-pp94-fmpxBIT-ACTIVEMQ-2026-40046
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.activemq:apache-activemq | from 6.0.0 before 6.2.4 | CVE List |
| org.apache.activemq:activemq-all | from 6.0.0 before 6.2.4 | CVE List |
| org.apache.activemq:activemq-mqtt | from 6.0.0 before 6.2.4 | CVE List |
| org.apache.activemq:apache-activemq (Maven) | from 6.0.0 before 6.2.4 | GitHub Advisory Database |
| org.apache.activemq:activemq-all (Maven) | from 6.0.0 before 6.2.4 | GitHub Advisory Database |
| org.apache.activemq:activemq-mqtt (Maven) | from 6.0.0 before 6.2.4 | GitHub Advisory Database |
| activemq (Bitnami) | from 6.0.0 before 6.2.4 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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 (es)
Desbordamiento de entero o desbordamiento circular vulnerabilidad en Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT. La solución para ’CVE-2025-66168: el campo de longitud restante del paquete de control MQTT no se valida correctamente’ solo se aplicó a las versiones 5.19.2 (y futuras 5.19.x) pero se omitió para todas las versiones 6.0.0+. Este problema afecta a Apache ActiveMQ: desde 6.0.0 antes de 6.2.4; Apache ActiveMQ All: desde 6.0.0 antes de 6.2.4; Apache ActiveMQ MQTT: desde 6.0.0 antes de 6.2.4. Se recomienda a los usuarios actualizar a la versión 6.2.4 o a una versión 5.19.x a partir de 5.19.2 o posterior (actualmente la última es 5.19.5), lo que soluciona el problema.
References
| https://www.cve.org/CVERecord?id=CVE-2025-66168 | related, web | |
| https://activemq.apache.org/security-advisories.data/CVE-2026-40046-announcement.txt | vendor-advisory, web | |
| https://lists.apache.org/thread/zdntj5rcgjjzrpow84o339lzldy68zrg | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-40046 | advisory, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40046 changed 2026-04-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xvqc-pp94-fmpx changed 2026-04-13 | CC-BY-4.0 |
| NVD | CVE-2026-40046 changed 2026-10-26 | Public domain |
| Bitnami Vulnerability Database | BIT-ACTIVEMQ-2026-40046 changed 2026-04-13 | Apache-2.0 |