CVE-2026-77406: CWE-195: Signed to Unsigned Conversion Error in rabbitmq amqp091-go
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, Channel.Qos in channel.go accepts negative prefetchCount and prefetchSize integers and casts them directly to uint16 and uint32 fields in the basic.qos method because validateQos is absent. Values such as -1 therefore wrap to 65535 or 4294967295 instead of being rejected. An application that permits untrusted configuration of these Qos values can unintentionally request extremely large prefetch limits, allowing a broker to deliver enough queued messages to exhaust client memory and disrupt processing. This issue is fixed in version 1.13.0.
AI Analysis
Technical Summary
In RabbitMQ amqp091-go versions before 1.13.0, the Channel.Qos function in channel.go lacks validation for negative prefetchCount and prefetchSize parameters. These negative values are cast directly to uint16 and uint32 types, causing wrap-around to large unsigned integers (e.g., -1 becomes 65535 or 4294967295). If an application allows untrusted configuration of these QoS values, an attacker could cause the client to request extremely large prefetch limits, leading to excessive memory consumption and potential disruption of message processing. This vulnerability is addressed by adding validation in version 1.13.0.
Potential Impact
An attacker who can influence the QoS configuration parameters can cause the client to request very large prefetch counts, resulting in the client receiving an excessive number of queued messages. This can exhaust the client's memory resources and disrupt normal message processing, potentially causing denial of service conditions on the client side.
Mitigation Recommendations
Upgrade to RabbitMQ amqp091-go version 1.13.0 or later, where this issue is fixed by proper validation of QoS parameters. Until upgrading, avoid allowing untrusted sources to configure prefetchCount and prefetchSize values to prevent exploitation.
CVE-2026-77406: CWE-195: Signed to Unsigned Conversion Error in rabbitmq amqp091-go
Description
RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. Prior to 1.13.0, Channel.Qos in channel.go accepts negative prefetchCount and prefetchSize integers and casts them directly to uint16 and uint32 fields in the basic.qos method because validateQos is absent. Values such as -1 therefore wrap to 65535 or 4294967295 instead of being rejected. An application that permits untrusted configuration of these Qos values can unintentionally request extremely large prefetch limits, allowing a broker to deliver enough queued messages to exhaust client memory and disrupt processing. This issue is fixed in version 1.13.0.
CVSS v4.0
Score 8.2high
Affected software
rabbitmq
amqp091-go
pkg:golang/github.com/rabbitmq/amqp091-goRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In RabbitMQ amqp091-go versions before 1.13.0, the Channel.Qos function in channel.go lacks validation for negative prefetchCount and prefetchSize parameters. These negative values are cast directly to uint16 and uint32 types, causing wrap-around to large unsigned integers (e.g., -1 becomes 65535 or 4294967295). If an application allows untrusted configuration of these QoS values, an attacker could cause the client to request extremely large prefetch limits, leading to excessive memory consumption and potential disruption of message processing. This vulnerability is addressed by adding validation in version 1.13.0.
Potential Impact
An attacker who can influence the QoS configuration parameters can cause the client to request very large prefetch counts, resulting in the client receiving an excessive number of queued messages. This can exhaust the client's memory resources and disrupt normal message processing, potentially causing denial of service conditions on the client side.
Mitigation Recommendations
Upgrade to RabbitMQ amqp091-go version 1.13.0 or later, where this issue is fixed by proper validation of QoS parameters. Until upgrading, avoid allowing untrusted sources to configure prefetchCount and prefetchSize values to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-20T19:55:27.023Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aaaabfd55bf5e2cf5bf8d47
Added to database: 09/16/2026, 14:47:25 UTC
Last enriched: 09/16/2026, 15:02:17 UTC
Last updated: 09/16/2026, 18:47:19 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.