CVE catalog

CVE-2026-40046

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 val

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianactivemqsid5.17.6+dfsg-2not affected
Debianactivemqtrixie5.17.6+dfsg-2not affected
Debianactivemqbookworm5.17.2+dfsg-2+deb12u1not affected
Debianactivemqbookworm-security5.17.2+dfsg-2+deb12u1not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianactivemqsourcesidNot affectedunimportantNot reportedNot reported
DebianactivemqsourcetrixieNot affectedunimportantNot reportedNot reported
DebianactivemqsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [activemq]Not affected
    Details (4)
    • 5.17.2+dfsg-2+deb12u1 · all · bookworm

      Not affected

      nvd · activemq · debian · bookworm

    • 5.17.2+dfsg-2+deb12u1 · all · bookworm

      Not affected

      nvd · activemq · debian · bookworm

    • 5.17.2+dfsg-2+deb12u1 · all · bookworm-security

      Not affected

      nvd · activemq · debian · bookworm

    • 5.17.2+dfsg-2+deb12u1 · all · bookworm-security

      Not affected

      nvd · activemq · debian · bookworm

  • [libactivemq-java]Not affected

    Source package: [activemq]

    Details (4)
    • 5.17.2+dfsg-2+deb12u1 · all · bookworm

      Not affected

      nvd · activemq · debian · bookworm

    • 5.17.2+dfsg-2+deb12u1 · all · bookworm

      Not affected

      nvd · activemq · debian · bookworm

    • 5.17.2+dfsg-2+deb12u1 · all · bookworm-security

      Not affected

      nvd · activemq · debian · bookworm

    • 5.17.2+dfsg-2+deb12u1 · all · bookworm-security

      Not affected

      nvd · activemq · debian · bookworm

Observed:

References