CVE-2026-77411
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
9.5
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
CVE-2026-77411- CVSS 4.0
- 9.5 Critical
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 - Weakness
- CWE-754
- Updated
- 2026-11-02
EUVDEUVD-2026-80821
9.5
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
EUVD-2026-80821- CVSS 4.0
- 9.5 Critical
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-c5pq-fr2g-9jpf
9.5
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr
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.
- Record
GHSA-c5pq-fr2g-9jpf- CVSS 4.0
- 9.5 Critical
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 - Weakness
- CWE-754
- Updated
- 2026-11-02
NVD
9.5
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
CVE-2026-77411- CVSS 4.0
- 9.5 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-754
- Updated
- 2026-11-02
OSV
9.5
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
CVE-2026-77411- CVSS 4.0
- 9.5 Critical
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 - Weakness
- CWE-754
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-77411
9.5
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
DEBIAN-CVE-2026-77411- CVSS 4.0
- 9.5 Critical
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
Show 7 moreShow less
OSVGHSA-c5pq-fr2g-9jpf
9.5
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr
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.
- Record
GHSA-c5pq-fr2g-9jpf- CVSS 4.0
- 9.5 Critical
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 - Weakness
- CWE-754
- Updated
- 2026-11-02
OSVRHSA-2026:73523
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:73523- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-77411
9.5
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
UBUNTU-CVE-2026-77411- CVSS 4.0
- 9.5 Critical
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 - Updated
- 2026-11-02
OSVAZL-103206 No score
CVE-2026-77411 affecting package keda 2.14.1-19
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
AZL-103206- Updated
- 2026-11-02
OSVAZL-103290 No score
CVE-2026-77411 affecting package telegraf for versions less than 1.31.0-34
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, readLongstr in read.go returns an empty string and a nil error when a declared AMQP longstr length exceeds 0x7FFFFFFF instead of returning ErrSyntax. The function leaves the declared field bytes unread, while readTable treats the operation as successful and continues parsing from the wrong offset. A malicious or compromised broker can provide an oversized longstr in a table field and desynchronize subsequent AMQP parsing, causing attacker-controlled trailing bytes to be interpreted as later fields or frames and disrupting connection integrity and availability. This issue is fixed in version 1.13.0.
- Record
AZL-103290- Updated
- 2026-11-02
OSVGO-2026-6496 No score
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr in github.com/rabbitmq/amqp091-go
RabbitMQ amqp091-go: Protocol Desynchronization and Frame Injection via Integer Overflow in readLongstr in github.com/rabbitmq/amqp091-go
- Record
GO-2026-6496- Updated
- 2026-11-02
OSVROOT-APP-GOBINARY-CVE-2026-77411 No score
CVE-2026-77411 in github.com/rabbitmq/amqp091-go - Patched by Root
Root has patched CVE-2026-77411 in the github.com/rabbitmq/amqp091-go package for Root:Go. Multiple fixed versions available.
- Record
ROOT-APP-GOBINARY-CVE-2026-77411- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/rabbitmq/amqp091-goGo |
before 1.13.0 | 1.13.0 |
kedaAzure Linux:3 |
through 2.14.1-19 | None known |
telegrafAzure Linux:3 |
before 1.31.0-34 | 1.31.0-34 |
golang-github-rabbitmq-amqp091-goDebian:12 |
All versions, plus listed versions 1.10.0-11.11.0-11.12.0-11.14.0-11.15.0-1 Show 4 moreShow less1.5.0-21.8.1-11.8.1-21.9.0-1 |
None known |
golang-github-rabbitmq-amqp091-goDebian:13 |
All versions, plus listed versions 1.10.0-11.11.0-11.12.0-11.14.0-11.15.0-1 |
None known |
golang-github-rabbitmq-amqp091-goDebian:14 |
before 1.14.0-1, plus listed versions 1.10.0-11.11.0-11.12.0-1 |
1.14.0-1 |
opentelemetry-collector-contribRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:0.162.0-0.1.hum1 | 0:0.162.0-0.1.hum1 |
github.com/rabbitmq/amqp091-goRoot:Go |
before v1.10.0-aikido.4 | v1.10.0-aikido.4v1.10.0-aikido.5v1.10.0-aikido.6v1.10.0-aikido.7v1.12.0-aikido.3v1.12.0-aikido.4v1.12.0-aikido.5v1.12.0-aikido.6v1.11.0-aikido.1 |
rootio-github.com/rabbitmq/amqp091-goRoot:Go |
before v1.10.0-root.io.4 | v1.10.0-root.io.4v1.10.0-root.io.5v1.10.0-root.io.6v1.10.0-root.io.7v1.12.0-root.io.3v1.12.0-root.io.4v1.12.0-root.io.5v1.12.0-root.io.6v1.11.0-root.io.1 |
golang-github-rabbitmq-amqp091-goUbuntu:24.04:LTS |
All versions, plus listed versions 1.8.1-21.9.0-1 |
None known |
golang-github-rabbitmq-amqp091-goUbuntu:26.10 |
All versions, plus listed versions 1.10.0-11.11.0-11.12.0-1 |
None known |
golang-github-rabbitmq-amqp091-goUbuntu:26.04:LTS |
All versions, plus listed versions 1.10.0-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-77411 is a critical vulnerability (CVSS 9.5) in Rabbitmq Amqp091-go, published September 16, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.52%, the 44th percentile. Fixed in github.com/rabbitmq/amqp091-go 1.13.0.
References
github.com/rabbitmq/amqp091-go/security/advisories/GHSA-c5pq-fr2g-9jpf
github.com/rabbitmq/amqp091-go/pull/347
github.com/rabbitmq/amqp091-go/commit/143c1ace5fa7344cee135e5c7d22970f0de68282
github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0
nvd.nist.gov/vuln/detail/CVE-2026-77411
github.com/advisories/GHSA-c5pq-fr2g-9jpf
Show 18 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77411.json
security-tracker.debian.org/tracker/CVE-2026-77411
github.com/rabbitmq/amqp091-go
access.redhat.com/errata/RHSA-2026:73523
images.redhat.com
access.redhat.com/security/cve/CVE-2026-56851
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2026-77411
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_73523.json
bugzilla.redhat.com/show_bug.cgi?id=2547607
cve.org/CVERecord?id=CVE-2026-56851
nvd.nist.gov/vuln/detail/CVE-2026-56851
go.dev/cl/793360
go.dev/issue/80112
pkg.go.dev/vuln/GO-2026-6629
bugzilla.redhat.com/show_bug.cgi?id=2535495
cve.org/CVERecord?id=CVE-2026-77411
ubuntu.com/security/CVE-2026-77411