CVE-2026-77410
ADVISORY - githubSummary
Summary
A flaw in the recvContent function allows a malicious AMQP server to trigger an Out-of-Memory (OOM) error, forcing the host operating system or container runtime to immediately terminate the client process.
Vulnerability Details
When receiving message content payloads, the client processes the expected size from the content header framework. The recvContent function attempts to optimize performance by pre-allocating memory for the message body based on the ch.header.Size field, which is a 64-bit unsigned integer (uint64).
// channel.go:495-496
if cap(ch.body) == 0 {
ch.body = make([]byte, 0, ch.header.Size) // unbounded
}
The underlying library fails to validate or cap this requested size against any upper boundary—such as the maximum frame size negotiated during connection establishment (FrameMax). If a server specifies an extreme body size (e.g., 2^62 bytes), the Go runtime attempts to allocate an exabyte-scale slice capacity. This immediately exhausts available system memory, causing the operating system's OOM killer to terminate the application.
Attack Vector / Exploitation Scenario
- Message Delivery Phase: A malicious or compromised AMQP broker sends a standard
basic.deliverframe containing a content header with an intentionally inflatedbody-sizevariable. - Authentication Requirement: No special privileges or authentication bypasses are required; the crash occurs seamlessly during normal message consumption.
Impact
- Availability: High. Exploded memory consumption results in an instant process termination, destroying application state and availability for all threads sharing the environment.
Common Weakness Enumeration (CWE)
Memory Allocation with Excessive Size Value
Memory Allocation with Excessive Size Value
Allocation of Resources Without Limits or Throttling
NIST
-
CVSS SCORE
8.9highGitHub
-
CVSS SCORE
8.9highDebian
-
Red Hat
3.9
CVSS SCORE
7.5highminimos
MINI-24gv-hw3h-4m9g
-
minimos
MINI-2pfr-cmq4-r588
-
minimos
MINI-4559-vv7v-vfvg
-
minimos
MINI-4fm4-r8w6-fg92
-
minimos
MINI-4h47-4jff-3rxr
-
minimos
MINI-78m8-f5jj-q444
-
minimos
MINI-7v7v-65mc-946h
-
minimos
MINI-7vp8-37h8-c853
-
minimos
MINI-95w9-2m56-54jw
-
minimos
MINI-c753-q9xj-44mh
-
minimos
MINI-c8xg-9p4j-5grm
-
minimos
MINI-cfw7-8h9w-g5wr
-
minimos
MINI-fwr6-7wwg-c889
-
minimos
MINI-gxg9-p3hg-rr82
-
minimos
MINI-h8wp-r735-qh2j
-
minimos
MINI-j9f4-cmmp-jjfv
-
minimos
MINI-jcqw-cr6f-rf93
-
minimos
MINI-p4v9-g7gr-5r6r
-
minimos
MINI-r4pm-7c69-h89g
-
minimos
MINI-vfhg-m3wv-jrc8
-
minimos
MINI-wv86-rhxq-pcqj
-
minimos
MINI-x293-jp63-qp33
-
minimos
MINI-xrc2-26wr-jmhv
-