---
id: CVE-2026-77411
title: RabbitMQ amqp091-go is a Go AMQP 0.9.1 client
summary: >-
  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…
severity: critical
cvss: 9.5
cvssVector: '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'
cwe:
  - CWE-754
vendor: rabbitmq
product: amqp091-go
affected:
  - amqp091-go < 1.13.0
patched:
  - github.com/rabbitmq/amqp091-go 1.13.0
published: '2026-09-16'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T18:19:19.803'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77411'
references:
  - url: >-
      https://github.com/rabbitmq/amqp091-go/commit/143c1ace5fa7344cee135e5c7d22970f0de68282
    label: security-advisories@github.com
  - url: 'https://github.com/rabbitmq/amqp091-go/pull/347'
    label: security-advisories@github.com
  - url: 'https://github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/rabbitmq/amqp091-go/security/advisories/GHSA-c5pq-fr2g-9jpf
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77411'
  - url: 'https://github.com/advisories/GHSA-c5pq-fr2g-9jpf'
  - url: 'https://github.com/rabbitmq/amqp091-go'
tags:
  - nvd
  - cve.org
  - ghsa
  - go
  - osv
epss: 0.00524
epssPercentile: 0.41926
aliases:
  - GHSA-c5pq-fr2g-9jpf
ecosystem: go
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-16T18:21:22.214387Z'
cvssSource: cna
ingestedAt: '2026-09-16T14:57:28.033Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-77411)

Affected packages:

- `github.com/rabbitmq/amqp091-go < 1.13.0`

Patched in:

- `github.com/rabbitmq/amqp091-go 1.13.0`

Source: https://github.com/advisories/GHSA-c5pq-fr2g-9jpf
