CVE-2026-66079 in RabbitMQ's AMQP 1.0 parser reveals a layered defense failure where a simple parsing edge case becomes catastrophic due to architectural omissions in process resource management.

The vulnerability mechanism is straightforward: the list0 constructor (0x45) represents an empty list but still carries a 32-bit Count field. When the parser processes entries with width B=0, it constructs list elements consuming zero bytes per iteration. A 19-byte frame can specify a Count of 0xFFFFFFFF, causing the parser to loop until memory exhaustion. The AMQP 1.0 specification assumes implementers will enforce application-level constraints, and RabbitMQ's incoming_max_frame_size (8192 bytes) caps only the raw frame, not the parsed Count field—leaving this gap unmitigated.

The critical insight is that the parsing logic itself correctly implements the spec. The failure is that RabbitMQ's reader process—the first point of contact for any client, handling untrusted input before authentication—runs without Erlang's max_heap_size limit. This is not a corner case; it's a pre-authentication parser with unlimited heap. Erlang's process isolation guarantees hold only when developers explicitly configure resource limits, and the default of infinity reflects the language's origins in trusted telecommunications networks, not internet-facing services.

This is the third time the Erlang ecosystem has encountered this specific pattern (rabbitmq-coreint in 2014, cowboy's HTTP/2 handling), each time receiving individual constructor patches rather than structural resource limits on externally-facing processes. The fix matters: bounds-checking on Count fields addresses only this constructor, while adding max_heap_size to the reader process provides durable protection against similar edge cases in other AMQP parsing paths.

Assess whether your deployment runs any pre-authentication parser with unlimited heap. If the patch adds explicit Count field validation only, treat it as incomplete—audit other array/list constructors in the AMQP 1.0 type system for similar iteration-count-to-memory-exhaustion vectors. The structural fix is process-level resource limits on any process handling untrusted network input before authentication.