CVE-2026-40046
JSON

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 packageVersionsReported by
org.apache.activemq:apache-activemqfrom 6.0.0 before 6.2.4CVE List
org.apache.activemq:activemq-allfrom 6.0.0 before 6.2.4CVE List
org.apache.activemq:activemq-mqttfrom 6.0.0 before 6.2.4CVE List
org.apache.activemq:apache-activemq (Maven)from 6.0.0 before 6.2.4GitHub Advisory Database
org.apache.activemq:activemq-all (Maven)from 6.0.0 before 6.2.4GitHub Advisory Database
org.apache.activemq:activemq-mqtt (Maven)from 6.0.0 before 6.2.4GitHub Advisory Database
activemq (Bitnami)from 6.0.0 before 6.2.4Bitnami Vulnerability Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-190

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

Sources

SourceRecordLicence
CVE ListCVE-2026-40046 changed 2026-04-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-xvqc-pp94-fmpx changed 2026-04-13CC-BY-4.0
NVDCVE-2026-40046 changed 2026-10-26Public domain
Bitnami Vulnerability DatabaseBIT-ACTIVEMQ-2026-40046 changed 2026-04-13Apache-2.0