All vulnerabilities

Servers and applications

GHSA-pj8f-mw2q-3xjj

RabbitMQ consistent-hash exchange: empty array crashes DLX queue processes

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

An x-consistent-hash exchange configured with hash-header accepts an AMQP field-array as the selected hash value. RabbitMQ preserves an empty AMQP array as the Erlang empty list [].

When the exchange has at least two buckets, its routing function treats lists by hashing their first element and calls hd([]), raising badarg.

A direct publish closes the publisher's channel. More importantly, if a classic queue dead-letters an attacker-controlled message through the exchange, the routing exception occurs inside the victim queue process. A persistent poison message is retried when the queue restarts, repeatedly crashing the queue until its supervisor exhausts restart attempts. The attacker publication is confirmed and the attacker's channel survives because the exception occurs later in the victim's DLX path.

  • rabbitmq_consistent_hash_exchange is enabled.
  • An x-consistent-hash exchange uses hash-header = h.
  • At least two queues or bucket weights are bound to that exchange.
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