Incorrect Calculation of Buffer Size Affecting org.apache.activemq:apache-activemq package, versions [,5.19.8)[6.0.0,6.2.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.84% (54th 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-JAVA-ORGAPACHEACTIVEMQ-17739006
  • published30 Jun 2026
  • disclosed30 Jun 2026
  • creditYoungjoon Kim

Introduced: 30 Jun 2026

NewCVE-2026-49432  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade org.apache.activemq:apache-activemq to version 5.19.8, 6.2.7 or higher.

Overview

org.apache.activemq:apache-activemq is a Message Broker and Client implementations.

Affected versions of this package are vulnerable to Incorrect Calculation of Buffer Size via the STOMP protocol when a remote unauthenticated peer sends a negative content-length value. An attacker can exhaust system resources or force abnormal connection closure by continuously streaming body bytes, causing the per-connection command buffer to exceed configured limits or triggering transport exception handling.

CVSS Base Scores

version 4.0
version 3.1