Memory Allocation with Excessive Size Value Affecting com.rabbitmq:amqp-client package, versions [,5.33.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (35th 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-COMRABBITMQ-18958660
  • published19 Aug 2026
  • disclosed18 Aug 2026
  • creditlucianjohnhouse

Introduced: 18 Aug 2026

NewCVE-2026-69219  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade com.rabbitmq:amqp-client to version 5.33.1 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via the readBytes() method in src/main/java/com/rabbitmq/client/impl/ValueReader.java. An attacker can trigger a JVM OutOfMemoryError by sending an AMQP field or long string with a declared length that causes the reader to allocate a byte array before verifying that the frame actually contains that many bytes. The vulnerable code trusts the wire length prefix and creates new byte[(int)contentLength] for any value below Integer.MAX_VALUE. A malicious peer can supply a near-2GB length and crash the client process before readFully() can reject the frame.

CVSS Base Scores

version 4.0
version 3.1