Skip to content
OpenAdvisories

Description

The RabbitMQ Java client library allows Java and JVM-based applications to connect to and interact with RabbitMQ nodes. Prior to 5.33.1, src/main/java/com/rabbitmq/client/impl/ValueReader.java uses ValueReader.readBytes to accept a wire-declared contentLength below Integer.MAX_VALUE and allocate a byte array before checking the bytes available in the frame. A malicious AMQP peer can send a LongString or byte-array field with type tag S and a declared length such as 0x7FFFFFFE during the pre-authentication connection.start server-properties table, causing an approximately 2 GB allocation and OutOfMemoryError before readFully consumes data. The resulting memory exhaustion can terminate the JVM and cause denial of service. This issue is fixed in version 5.33.1.

Affected products

VendorProductAffectedFixed
rabbitmq rabbitmq-java-client < 5.33.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 rabbitmq-java-client No fix yet —
Debian 12 rabbitmq-java-client No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rabbitmq-java-client No fix yet —
Ubuntu 26.04 LTS rabbitmq-java-client No fix yet —
Ubuntu 24.04 LTS rabbitmq-java-client No fix yet —
Ubuntu 22.04 LTS rabbitmq-java-client No fix yet —
Ubuntu 20.04 LTS rabbitmq-java-client No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS rabbitmq-java-client No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling cassandra-reaper 5.0.0-r9 —
Wolfi rolling druid 37.0.0-r54 —
Wolfi rolling logstash-9.3 +1 No fix yet —
Wolfi rolling logstash-9.4 +1 9.4.5-r3 —
Wolfi rolling thingsboard-tb-node +1 4.3.1.3-r23 —
Wolfi rolling zipkin 3.6.1-r22 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.rabbitmq:amqp-client < 5.33.1 5.33.1 GHSA-68mj-5wr7-6fgg

Advisories 1

References