RabbitMQ Java client accepts broker frames larger than the negotiated AMQP frame_max
Low severity
GitHub Reviewed
Published
Jul 9, 2026
in
rabbitmq/rabbitmq-java-client
•
Updated Aug 18, 2026
Description
Published to the GitHub Advisory Database
Aug 18, 2026
Reviewed
Aug 18, 2026
Last updated
Aug 18, 2026
Summary
The max body size was enforced to patch CVE-2023-46120, but even though that limit still works, the frame size itself still exceeds the given max size.
Root cause
The Java client records the AMQP 0-9-1
frame_maxnegotiated during connection tuning, but the socket inbound frame reader continues to validate broker-controlled payload lengths against the much largermaxInboundMessageBodySizelimit. A broker peer can therefore send a method frame whose payload is larger than the negotiatedframe_max, have it allocated and decoded, and complete the connection handshake instead of being rejected as a protocol violation.Reported by Team Atlanta.
References