highVulnerability

CVE-2026-77403

## Summary A Denial of Service (DoS) vulnerability exists in the AMQP client's connection negotiation logic. The AMQP specification explicitly mandates a strict minimum frame size of 4096 bytes to prevent pathological packet fragmentation. While the library defines a `frameMinSize = 4096` constant, the connection negotiation loop fails to enforce this boundary, blindly accepting whatever maximum frame size (`FrameMax`) the server advertises during the handshake. If a client connects to a malicious or compromised AMQP broker that advertises an extremely low `FrameMax` (such as 1 byte), the negotiation succeeds. Consequently, every subsequent message transmission is forced to splinter into thousands or millions of single-byte frames, causing massive CPU overhead, thread contention, and a near-instantaneous application freeze. --- ## Vulnerability Details ### Mechanism During the connection establishment phase, the client and server negotiate connection parameters—including maximum channel count, heartbeat intervals, and maximum frame sizes. The vulnerability is located where the client accepts the server's tuning parameters: ```go // Connection negotiation logic maps server values directly without validation if serverSettings.FrameMax > 0 { // VULNERABILITY: Lacks a floor validation check against frameMinSize (4096) c.config.FrameMax = serverSettings.FrameMax } ``` Because there is no conditional check asserting that `serverSettings.FrameMax >= frameMinSize`, a value below the protocol specification floor is successfully registered. When the application later passes data payloads to the frame writer, the chunking algorithm splits the payload using the negotiated `FrameMax` value as its chunk window divisor. ### Impact When `FrameMax` is set to an absurdly low threshold (e.g., 1 to 10 bytes): * A standard 10 KiB message payload requires tens of thousands of individual write operations and frame headers. * The system's CPU becomes entirely bound by frame

Properties

ghsa_id
GHSA-xwwf-m8fg-p9q2
summary
RabbitMQ amqp091-go: Denial of Service via Sub-Spec Frame Size Negotiation
severity
high
cve_id
CVE-2026-77403
signal_observed_at
2026-09-17T21:32:39+00:00
is_ghsa_only
false
ghsa_published
2026-09-17T17:03:50Z
source_url
https://github.com/advisories/GHSA-xwwf-m8fg-p9q2
ghsa_updated
2026-09-17T17:03:52Z

Related Entities (4)

AFFECTS (1)

[Software]go/github.com/rabbitmq/amqp091-go

HAS_WEAKNESS (1)

[Weakness]Allocation of Resources Without Limits or Throttling

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (1)

[Software]go/github.com/rabbitmq/amqp091-go

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-77403 — Ninja Signal Threat Intelligence | Ninja Signal