Integer Overflow or Wraparound Affecting apache-activemq-6.2 package, versions <6.2.8-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-APACHEACTIVEMQ62-18312745
  • published26 Jul 2026
  • disclosed9 Apr 2026

Introduced: 9 Apr 2026

CVE-2026-40046  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Minimos:latest apache-activemq-6.2 to version 6.2.8-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-activemq-6.2 package and not the apache-activemq-6.2 package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.