CVE-2026-77411 — Vulnerability in rabbitmq/amqp091-go — CVE Details
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.52%). Schedule for your next planned update.
Does your project use an affected github.com/rabbitmq/amqp091-go version?
Paste your go.sum to check it for CVE-2026-77411 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
A critical stream desynchronization vulnerability has been identified in the AMQP wire-protocol parser. When parsing a long string (readLongstr) within a table field, providing a length that exceeds the maximum signed 32-bit integer (2^31 - 1, or roughly 2.1 GiB) triggers an improper error-handling condition. The parser abruptly aborts the read and returns a success status ("",nil) without consuming the specified bytes from the underlying network buffer. This causes all subsequent read operations to become misaligned. The parser interprets arbitrary offsets within the remaining payload bytes as valid AMQP frame headers, leading to potential Remote Code Execution (RCE), data injection, or complete connection hijacking.
Vulnerability Details
The vulnerability exists within the bounds-checking logic of the readLongstr function:
// read.go:113-114 — silent no-op return, bytes left in stream
if length > (^uint32(0) >> 1) {
return // returns "", nil, does NOT consume `length` bytes
}
When length evaluates to a value greater than 0x7FFFFFFF:
- The function executes a silent
returnstatement. - Because Go utilizes named or zero-value initialization for unassigned return registers, this yields
"", nil(indicating a successful read of an empty string). - The Critical Failure: The reader's cursor is not advanced by
lengthbytes. The malformed payload remains sitting in the TCP/buffer stream.
Impact
As readTable continues iterating over the stream under the assumption that the string was successfully parsed, the byte alignment is entirely broken.
- Parser Desynchronization: Future AMQP frame headers are read from arbitrary offsets inside the attacker-controlled message payload.
- Payload Reinterpretation: A malicious actor can carefully craft the trailing bytes of the initial payload to perfectly mimic valid AMQP frames (e.g.,
connection.close,channel.open, or message publishing frames), forcing the client/server to execute unintended actions.
Advisory Timeline
- First published September 17, 2026 (70 days ago).
- Last revised October 1, 2026 — 14 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/rabbitmq/amqp091-go@v1.13.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/rabbitmq/amqp091-go Go · Affected: All versions | 1.13.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-754
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
References
- https://github.com/rabbitmq/amqp091-go/security/advisories/GHSA-c5pq-fr2g-9jpfWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-77411ADVISORY
- https://github.com/rabbitmq/amqp091-go/pull/347WEB
- https://github.com/rabbitmq/amqp091-go/commit/143c1ace5fa7344cee135e5c7d22970f0de68282WEB
- https://github.com/rabbitmq/amqp091-goPACKAGE
- https://github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0WEB
Frequently Asked Questions
- What is CVE-2026-77411?
- RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2026-77411?
- CVE-2026-77411 affects github.com/rabbitmq/amqp091-go. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-77411 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 37.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-77405CRITICAL
RabbitMQ amqp091-go: Missing Explicit TLS Minimum Version Configuration In URI Parser
- CVE-2026-104099CRITICAL
Fabio: Access-control bypass through unnormalized request paths
- CVE-2026-77408CRITICAL
RabbitMQ amqp091-go: Silent Data Truncation and State Corruption via Shortstr Integer Overflow
- CVE-2026-77369CRITICAL
Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint
- CVE-2026-77404HIGH
RabbitMQ amqp091-go: Connection Configuration Overwrite via Unsanitized TLS Path Parameter Injection