All vulnerabilities

Servers and applications

GHSA-4826-gphh-vw3x

MQTT 5.0: Receive Maximum zero disables delivery credit

Severity
Low 2.3
Published
18 Aug 2026
Last changed
18 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.13.20, 4.0.25, 4.1.16, 4.2.10, 4.3.5
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Slow it down
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

RabbitMQ accepts the MQTT 5 Receive Maximum CONNECT property with value zero, although MQTT 5 requires the server to treat zero as a malformed packet.

RabbitMQ converts the value directly into {simple_prefetch, 0}. For classic queues, zero means unlimited prefetch, not zero delivery credit. An authenticated subscriber can therefore advertise zero, subscribe at QoS 1, read deliveries without sending PUBACK, and cause the broker's MQTT process and queue acknowledgement state to grow without the configured MQTT prefetch bound.

A control connection advertising Receive Maximum = 1 receives exactly one QoS 1 message until it acknowledges it.

  • rabbitmq_mqtt or Web MQTT is enabled.
  • The attacker has valid credentials and permission to consume a topic.
  • Messages are available to the subscription at QoS 1.
  • The affected subscription uses a classic queue. Clean-start MQTT subscriptions use classic queues in the verified configuration.

No guard rejects Val = 0.

From rabbitmq/rabbitmq-server's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
RabbitMQServers and applications · github:rabbitmq/rabbitmq-server
  • From 3.13.0 before 3.13.20
  • From 4.0.0 before 4.0.25
  • From 4.1.0 before 4.1.16
  • From 4.2.0 before 4.2.10
  • From 4.3.0 before 4.3.5

About RabbitMQ

open source message broker, sometimes referred to as "Rabbit"

From Wikidata, CC0 1.0.
Docker Hub pulls
3,918,841,187Docker Hub, 15 Nov 2026
GitHub stars
13,973GitHub, 15 Nov 2026
Forks
4,032GitHub, 15 Nov 2026
Latest release
v4.4.0GitHub, 15 Nov 2026
Released
19 Oct 2026GitHub
Developer
Jean-Sébastien PédronWikidata
License
Mozilla Public License, version 2.0Wikidata
Written in
ErlangWikidata
First published on GitHub
20 Sept 2010GitHub

Release lines

ReleaseLatestSecurity fixes
4.44.4.0Until 31 Jul 2027
4.34.3.7Until 31 Jan 2027
4.24.2.9Ended 31 Jul 2026
4.14.1.8Ended 30 Jan 2026
4.04.0.9Ended 30 Apr 2025
3.133.13.7Ended 30 Sept 2024

From endoflife.date.

References