# CVE-2026-40046: 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: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-04-09T15:58:32.966Z
- Modified: 2026-10-26T00:10:00.150Z
- Also known as: GHSA-xvqc-pp94-fmpx, BIT-ACTIVEMQ-2026-40046
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- org.apache.activemq:apache-activemq: from 6.0.0 before 6.2.4
- org.apache.activemq:activemq-all: from 6.0.0 before 6.2.4
- org.apache.activemq:activemq-mqtt: from 6.0.0 before 6.2.4
- org.apache.activemq:apache-activemq (Maven): from 6.0.0 before 6.2.4
- org.apache.activemq:activemq-all (Maven): from 6.0.0 before 6.2.4
- org.apache.activemq:activemq-mqtt (Maven): from 6.0.0 before 6.2.4
- activemq (Bitnami): from 6.0.0 before 6.2.4

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## 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

- CVE List: [CVE-2026-40046](https://www.cve.org/CVERecord?id=CVE-2026-40046), CVE Terms of Use, modified 2026-04-10
- GitHub Advisory Database: [GHSA-xvqc-pp94-fmpx](https://github.com/advisories/GHSA-xvqc-pp94-fmpx), CC-BY-4.0, modified 2026-04-13
- NVD: [CVE-2026-40046](https://nvd.nist.gov/vuln/detail/CVE-2026-40046), Public domain, modified 2026-10-26
- Bitnami Vulnerability Database: [BIT-ACTIVEMQ-2026-40046](https://osv.dev/vulnerability/BIT-ACTIVEMQ-2026-40046), Apache-2.0, modified 2026-04-13

---

Page: https://cve.day/CVE-2026-40046 · Whole record: https://cve.day/CVE-2026-40046.json · Rebuilt by cve.day 2026-11-25T22:59:18.388Z
