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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 2.3
- **CVSS:** 2.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-28)
- **CWE:** CWE-1333
- **Published:** 2026-09-23T20:19:22.703Z
- **Modified:** 2026-10-30T18:17:08.920Z

## Who should check

- Anyone running rabbitmq-server \>= 4.2.0, \< 4.2.7; \>= 4.3.0, \< 4.3.1

## 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.

## Affected and fixed versions

- rabbitmq-server: \>= 4.2.0, \< 4.2.7; \>= 4.3.0, \< 4.3.1 (cvelist)

## Mitigation

- Upgrade rabbitmq-server to 4.3.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-67240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-67240.md
Affected: rabbitmq-server >= 4.2.0, < 4.2.7; >= 4.3.0, < 4.3.1
Fixed in: rabbitmq-server 4.2.7, rabbitmq-server 4.3.1

Steps:
1. Search this machine and project for rabbitmq-server: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-67240 being exploited?

There is no confirmed exploitation: CVE-2026-67240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-67240?

Low: CVSS 2.3 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-67240?

rabbitmq-server \>= 4.2.0, \< 4.2.7; \>= 4.3.0, \< 4.3.1.

### Is there a fix for CVE-2026-67240?

Yes. Fixed in rabbitmq-server 4.2.7, rabbitmq-server 4.3.1. Upgrade rabbitmq-server to 4.3.1 or later.

### How do I check if I'm affected by CVE-2026-67240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-59c5-553c-57m2>
- other: <https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.7>
- other: <https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-67240>

HTML: <https://flawdb.com/CVE-2026-67240> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-67240>
