All vulnerabilities

Servers and applications

GHSA-6chv-gv3h-cvcj

RabbitMQ direct reply-to: forged suffix fanout causes quadratic mailbox memory

Severity
Medium 6.0
Published
18 Aug 2026
Last changed
18 Aug 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.2.10, 4.3.5
Weakness
Uncontrolled resource consumption (CWE-400)Inefficient algorithmic complexity (CWE-407)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

RabbitMQ direct reply-to addresses have the form:

When resolving a destination, RabbitMQ decodes and validates the PID but discards the capability-key suffix. An attacker who obtains their own valid direct reply-to address can create many distinct routing keys that preserve the encoded PID and replace only the suffix.

A single message can carry these names through the AMQP CC header. RabbitMQ creates one volatile target per distinct name and sends one cast per target to the same channel/session PID. Every cast retains a copy of the message's full O(N) routing-key structure, producing N × O(N) = O(N²) mailbox memory.

The final capability-key check happens only after each cast reaches the target mailbox, too late to prevent amplification.

  • The attacker has an authenticated AMQP account.
  • The account can write to the default exchange.
  • The attacker activates direct reply-to and obtains its own generated reply address. No victim address or cross-user information leak is required.
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 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