# CVE-2026-67240: RabbitMQ: ReDoS via AMQP 1.0 SQL filter LIKE wildcard

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-23 · Modified: 2026-09-24
- Aliases: UBUNTU-CVE-2026-67240, DEBIAN-CVE-2026-67240
- Record: https://cvemate.com/vulnerability/CVE-2026-67240 · JSON: https://cvemate.com/vulnerability/CVE-2026-67240/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.372%, percentile 33.135%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- broadcom rabbitmq\_server: ≥ 4.2.0, \< 4.2.7 \| ≥ 4.3.0, \< 4.3.1
- debian rabbitmq-server (Debian): \< 4.3.2-1
- ubuntu rabbitmq-server (Ubuntu): All versions (No fix recorded)
- rabbitmq rabbitmq-server: ≥ 4.2.0, \< 4.2.7 \| ≥ 4.3.0, \< 4.3.1

## References

- <https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-59c5-553c-57m2>
- <https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.7>
- <https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.1>
- <https://ubuntu.com/security/CVE-2026-67240>
- <https://www.cve.org/CVERecord?id=CVE-2026-67240>
- <https://security-tracker.debian.org/tracker/CVE-2026-67240>

---

Data as of 2026-12-05T09:44:24.403Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
