{"id":"CVE-2026-67240","aliases":["CVE-2026-67240","BIT-RABBITMQ-2026-67240","GHSA-59c5-553c-57m2"],"related":[],"kind":"vulnerability","state":"published","title":"RabbitMQ: ReDoS via AMQP 1.0 SQL filter LIKE wildcard","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-23T20:19:22.703Z","modified":"2026-11-17T13:30:12.894Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":">= 4.2.0, < 4.2.7","status":"affected"},{"version":">= 4.3.0, < 4.3.1","status":"affected"}],"vendor":"rabbitmq","product":"rabbitmq-server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.2.0","fixed":"4.2.7"},{"status":"affected","introduced":"4.3.0","fixed":"4.3.1"}],"vendor":"broadcom","product":"rabbitmq_server","cpe":"cpe:2.3:a:broadcom:rabbitmq_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"4.2.0","status":"affected","fixed":"4.2.7"},{"type":"semver","introduced":"4.3.0","status":"affected","fixed":"4.3.1"}],"ecosystem":"Bitnami","package":"rabbitmq","purl":"pkg:bitnami/rabbitmq","source":"bitnami"}],"references":[{"url":"https://github.com/rabbitmq/rabbitmq-server/security/advisories/GHSA-59c5-553c-57m2","tags":["advisory","exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.2.7","tags":["article","release-notes","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/rabbitmq/rabbitmq-server/releases/tag/v4.3.1","tags":["article","release-notes","x-refsource-misc"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67240","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-24T14:24:20.497Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-67240","url":"https://www.cve.org/CVERecord?id=CVE-2026-67240","licence":"CVE Terms of Use","modified":"2026-09-24T14:24:51.504Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-67240","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-67240","licence":"Public domain","modified":"2026-10-30T18:17:08.920Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RABBITMQ-2026-67240","url":"https://osv.dev/vulnerability/BIT-RABBITMQ-2026-67240","licence":"Apache-2.0","modified":"2026-11-17T13:30:12.894Z"}],"updatedAt":"2026-11-25T22:59:40.715Z","epss":{"score":0.00372,"percentile":0.33135,"date":"2026-12-01T12:00:22.000Z"}}