CVE-2026-67228: RabbitMQ: Atom exhaustion: to_atom on runtime-parameter component
RabbitMQ is a messaging and streaming broker. Prior to versions 4.2.7 and 4.3.1, The runtime-parameters lookup path coerces the URL :component segment to an atom with rabbitdatacoercion:toatom/1 in lookupcomponent/1 (deps/rabbit/src/rabbitruntimeparameters.erl), creating a new atom for any previously unseen value. A safe helper, rabbitregistry:binarytotype/1, which uses binarytoexistingatom with a catch, already exists but is not used at this call site. lookupcomponent/1 calls rabbitdatacoercion:toatom(Component) on the :component segment of the request URL, converting an attacker-supplied string into a new atom. Because the Erlang atom table is bounded and atoms are never garbage collected, an authorized policymaker issuing roughly one million requests with distinct component values can exhaust the atom table and crash the node, resulting in a denial of service. Preconditions include Exploitation requires policymaker privileges and roughly one million requests.. This issue is fixed in versions 4.2.7 and 4.3.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
RabbitMQto a version that resolves this vulnerability.Fixed in 4.2.7 - Upgrade
Upgrade
RabbitMQto a version that resolves this vulnerability.Fixed in 4.3.1
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs policymaker privileges in RabbitMQ. Unauthenticated or lower-privileged users are not identified as able to trigger the issue.
What does exploitation require?
The attacker must issue roughly one million requests using distinct values in the runtime-parameter URL component segment. Each previously unseen value can create a permanent Erlang atom until the bounded atom table is exhausted.
What is the operational impact if exploitation succeeds?
Exhausting the Erlang atom table can crash the affected RabbitMQ node, causing denial of service.
Which versions contain the fix?
The issue is fixed in RabbitMQ 4.2.7 and 4.3.1. Versions prior to those releases are affected according to the advisory.