Skip to content
VulniPulse
High7.5Apache Software Foundation

CVE-2026-40046 and CVE-2025-66168: Apache ActiveMQ: Integer Overflow or Wraparound vulnerability in Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT

This Apache advisory covers CVE-2026-40046 and CVE-2025-66168 in Apache ActiveMQ, Apache ActiveMQ All and Apache ActiveMQ MQTT. Its rating, versions and guidance apply to the bulletin as a whole, not to each of its 2 CVEs.

Open the Apache advisory

Am I affected?

You are affected if you run Apache ActiveMQ, Apache ActiveMQ All, Apache ActiveMQ MQTT at one of the versions below. If you do, upgrade to the fixed release listed for your version. The versions cover the whole bulletin, not each of its 2 CVEs.

Affected
6.0.0 through 6.2.4
6.0.0 through 6.2.4.

Fixed releases listed by the vendor: 6.2.4, 5.19.2, 5.19.5

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Bulletin rating
High, CVSS 7.5
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationMessagingActiveMQ

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.

Text from the source record.

Fix and mitigation

Fixed releases named by the bulletin:

  • 6.2.4
  • 5.19.2
  • 5.19.5

Apache Software Foundation advisories, April 2026All Apache Software Foundation advisories

Get an email when Apache Messaging (ActiveMQ/Kafka/Pulsar) publishes the next one.

See Apache Messaging (ActiveMQ/Kafka/Pulsar)'s last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro (first month US$5).

Alert me about Apache Messaging (ActiveMQ/Kafka/Pulsar)