{"schema_version":"1.6.0","id":"XYZ-2026-00218","modified":"2026-11-25T23:50:21Z","published":"2026-11-16T03:49:28Z","summary":"amqplib: one published message can block every consumer of a queue","affected":[{"package":{"ecosystem":"npm","name":"amqplib"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.2"}]}]}],"references":[{"type":"WEB","url":"https://packages.cyberxyz.io/xyz/XYZ-2026-00218"},{"type":"FIX","url":"https://github.com/amqp-node/amqplib/commit/024528f1599a15a99f71f5750e9063f8a370b6df"},{"type":"FIX","url":"https://github.com/amqp-node/amqplib/commit/3e405004d21e6212db7be2874a97ff3a1fab1845"},{"type":"FIX","url":"https://github.com/amqp-node/amqplib/commit/67aa1e59d39685c6c8ce88bf142502470769aa01"},{"type":"FIX","url":"https://github.com/amqp-node/amqplib/commit/6a650bd53e4f3ff6cecf671e5268ad0736282a91"},{"type":"FIX","url":"https://github.com/amqp-node/amqplib/commit/6e714f8fba024afc1a93016d360d84fe220b5de2"},{"type":"FIX","url":"https://github.com/amqp-node/amqplib/commit/9bbaf5bcb3cd010c36ea28483608462cd70c81a5"}],"credits":[{"name":"CyberXYZ Security Threat Intel Team","contact":["https://cyberxyz.io"],"type":"ANALYST"}],"database_specific":{"cyberxyz":{"status":"confirmed","status_label":"Advisory published","public_state":"full","exploitability_tier":"likely_exploitable","exploitability_tier_label":"Likely exploitable","first_detected_at":"2026-11-16T03:36:53.598518+00:00","fixed_versions":["2.3.2"],"upgrade_guidance":"A security fix was released in amqplib 2.3.2. Upgrade to 2.3.2 or later.","dispute":{"url":"/api/v1/disputes","subject_type":"advisory","subject_id":"XYZ-2026-00218","ecosystem":"npm","note":"Think this record is wrong? Tell us; we respond within 2 business days."},"url":"https://packages.cyberxyz.io/xyz/XYZ-2026-00218","writeup":{"what":"The decoder for AMQP field tables was recursive, so headers nested a few thousand levels deep overflowed the call stack. It also assigned each key directly to the decoded object, so a key named `__proto__` replaced that object's prototype and could make decoding throw. Both headers are valid AMQP 0-9-1 and RabbitMQ delivers them.","impact":"Denial of service against consumers. The error is thrown before the message reaches application code, so the app cannot acknowledge or reject it. The connection closes, the message returns to the queue, and each consumer that reconnects fails again until the message is removed. The maintainers state there is no code execution and no effect on confidentiality or integrity.","affected":"Consumers on amqplib 2.3.1 or earlier, on any queue where a client you do not fully trust has permission to publish.","action":"Upgrade to amqplib 2.3.2. Until then, grant publish permission only to clients you trust, and if a queue is stuck, purge it or remove the message with a client that is not affected. Quorum queues limit redeliveries, which ends the loop after that many attempts.","title":"amqplib: one published message can block every consumer of a queue","credit":"The nested field tables were reported by Dickson Wu (@DicksonWu654). Fixed by the amqplib maintainers. Advisory: GHSA-gfjv-mq5g-xjfw."},"exploitability_score":66,"severity":"low","cwe":"CWE-674","fix_commits":["024528f1599a15a99f71f5750e9063f8a370b6df","3e405004d21e6212db7be2874a97ff3a1fab1845","67aa1e59d39685c6c8ce88bf142502470769aa01","6a650bd53e4f3ff6cecf671e5268ad0736282a91","6e714f8fba024afc1a93016d360d84fe220b5de2","9bbaf5bcb3cd010c36ea28483608462cd70c81a5"],"feed_leads":[{"source":"ghsa","id":"GHSA-gfjv-mq5g-xjfw","published":"2026-11-25T00:00:00+00:00","lead_seconds":764586}]},"cwe_ids":["CWE-674"]},"details":"## What was wrong\n\nThe decoder for AMQP field tables was recursive, so headers nested a few thousand levels deep overflowed the call stack. It also assigned each key directly to the decoded object, so a key named `__proto__` replaced that object's prototype and could make decoding throw. Both headers are valid AMQP 0-9-1 and RabbitMQ delivers them.\n\n## Impact\n\nDenial of service against consumers. The error is thrown before the message reaches application code, so the app cannot acknowledge or reject it. The connection closes, the message returns to the queue, and each consumer that reconnects fails again until the message is removed. The maintainers state there is no code execution and no effect on confidentiality or integrity.\n\n## Who is affected\n\nConsumers on amqplib 2.3.1 or earlier, on any queue where a client you do not fully trust has permission to publish.\n\n## What to do\n\nUpgrade to amqplib 2.3.2. Until then, grant publish permission only to clients you trust, and if a queue is stuck, purge it or remove the message with a client that is not affected. Quorum queues limit redeliveries, which ends the loop after that many attempts.\n\nThe nested field tables were reported by Dickson Wu (@DicksonWu654). Fixed by the amqplib maintainers. Advisory: GHSA-gfjv-mq5g-xjfw.","aliases":["GHSA-gfjv-mq5g-xjfw"]}