CVE-2026-67240
Description
RabbitMQ is a messaging and streaming broker. Prior to versions 4.2.7 and 4.3.1, pattern_to_regex maps % -> .*? and _ -> ., then compiles ^...$ with only [unicode]; re:run is called with only [{capture, none}] - no explicit match_limit. A pattern like %_%_..._%X becomes ^.*?..*?.....*?.X$ with overlapping lazy quantifiers. The whole-expression cap is ?MAX_EXPRESSION_LENGTH=4096 chars / ?MAX_TOKENS=200; a LIKE string literal is one token, so ~2000 %_ pairs fit. SQL filters are accepted unconditionally at rabbit_amqp_session.erl:3264 (no feature flag). Evaluated per-message at rabbit_stream_queue.erl:1439. OTP's default 10M match_limit caps each match at ~100-200 ms (not seconds), and the re NIF yields to the scheduler. An authenticated AMQP 1.0 consumer with read+write on a stream queue can cause ~100-200 ms of CPU per delivered message via a crafted LIKE filter, multiplied across thousands of messages and parallel sessions - a substantial backtracking-driven CPU amplification. Preconditions include AMQP 1.0 with stream queues in use Attacker can attach a receiver with a filter (read permission) and publish messages with long property values (write permission). This issue is fixed in versions 4.2.7 and 4.3.1.
Description as published by the source, in English.
Key facts
- Published
- 2026-09-23
- Last modified
- 2026-10-30
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Broadcom | Rabbitmq Server | ≥ 4.2.0, < 4.2.7 | Affected |
| Broadcom | Rabbitmq Server | ≥ 4.3.0, < 4.3.1 | Affected |
Weakness type
-
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
References
- https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.7
- https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.1
- https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-59c5-553c-57m2
- https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-59c5-553c-57m2
Related at Berigo
Articles
-
Only one of the 91 vulnerabilities Spring patched is rated critical
Same product
2026-08-25
Spring has patched 91 vulnerabilities spread across a range of subprojects, and the advisories on spring.io are dated 20 August. Spring rates one of …
-
Broadcom fixes authentication bypass and code execution in VMware vCenter
Same product
2026-07-30
Broadcom published advisory VMSA-2026-0006 on 29 July 2026, fixing five vulnerabilities in VMware vCenter, ESX, Workstation and Fusion. Two of them s…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.