Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rabbitmq/amqp091-go
  4. ›
  5. CVE-2026-77406

CVE-2026-77406: RabbitMQ amqp091-go: Consumer Message Flooding via Signed-to-Unsigned Integer Casting in Qos Configuration

September 17, 2026

A logic and resource exhaustion vulnerability exists in the AMQP client’s Quality of Service (Qos) configuration method. The Qos function accepts signed integers (int) for the prefetchCount and prefetchSize parameters but casts them directly to unsigned integers (uint16 and uint32, respectively) when formatting the wire-level frame.

If a developer passes a negative integer (such as -1) to these parameters—frequently intended as a sentinel value meaning “no change” or “no limit”—the application performs an implicit signed-to-unsigned conversion. This wraps the values to their absolute maximum limit ($65535$ and $4294967295$). Consequently, a consumer expecting restricted message delivery rates is suddenly flooded with an unlimited volume of messages, potentially exhausting memory resources and crashing the application.


References

  • github.com/advisories/GHSA-rm6m-hrcw-jw33
  • github.com/rabbitmq/amqp091-go/commit/3b879e1d1d25b544e26b3bc3d7db3213203c0f3b
  • github.com/rabbitmq/amqp091-go/pull/351
  • github.com/rabbitmq/amqp091-go/releases/tag/v1.13.0
  • github.com/rabbitmq/amqp091-go/security/advisories/GHSA-rm6m-hrcw-jw33
  • nvd.nist.gov/vuln/detail/CVE-2026-77406

Code Behaviors & Features

Detect and mitigate CVE-2026-77406 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.13.0

Fixed versions

  • 1.13.0

Solution

Upgrade to version 1.13.0 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-195: Signed to Unsigned Conversion Error

Source file

go/github.com/rabbitmq/amqp091-go/CVE-2026-77406.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:47 +0000.