CVE-2026-79921 — amqp091-go
Fix: rabbitmq/amqp091-go@6beb7b5CVE-2026-79921 is a CWE-770 vulnerability in github.com/rabbitmq/amqp091-go. A fix is available for github.com/rabbitmq/amqp091-go — see the affected versions and patch details below.
amqp091-go has a Potential Memory Exhaustion/Protocol Violation via Broker-Controlled Oversized Payload
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-79921.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
github.com/rabbitmq/amqp091-goReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Summary A vulnerability exists in the amqp091-go client library where a compromised or malicious AMQP broker can force the client to allocate resources for and process content body frames that exceed the negotiated frame_max limit. This can lead to unexpected memory consumption or application-layer denial of service (DoS), bypassing the protocol's built-in framing constraints.
Details During a standard AMQP 0-9-1 connection handshake, the client and the broker negotiate a maximum frame size (frame_max), for example, 4096 bytes.
However, after negotiation, a malicious broker can send a valid basic.deliver sequence containing a content body frame whose header declares a payload size larger than the negotiated frame_max. Instead of enforcing the agreed-upon limit and closing the connection with a frame-error (as mandated by the AMQP 0-9-1 specification), the amqp091-go client:
- Accepts the broker-declared oversized frame size.
- Allocates memory based on this oversized declaration.
- Reads the payload, assembles it into the message, and delivers it to the consumer.
Impact
- Denial of Service (DoS): If a broker sends extremely large frame sizes, it can trigger significant memory allocations on the client side, potentially leading to Out-Of-Memory (OOM) crashes.
- Protocol Violation: The client fails to enforce negotiated connection parameters, trusting the broker implicitly even after constraints have been established.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/rabbitmq/amqp091-go | all versions | 1.13.0go get github.com/rabbitmq/amqp091-go@v1.13.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/rabbitmq/amqp091-go, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/rabbitmq/amqp091-go to 1.13.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-79921 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This flaw in the amqp091-go client can lead to a denial of service in Red Hat products. A compromised or malicious AMQP broker could exploit this by sending oversized payloads, forcing the client to consume excessive memory and potentially causing application-layer service disruption. The impact is considered…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.Source: Red Hat security advisory for CVE-2026-79921 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Custom Metric Autoscaler 2.19 | custom-metrics-autoscaler/custom-metrics-autoscaler-adapter-rhel9:1788361753 | RHSA-2026:62866 |
| Multicluster Global Hub 1.7.3 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1788376193 | RHSA-2026:67842 |
| Multicluster Global Hub 1.8.2 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1788441983 | RHSA-2026:68515 |
| Multicluster Global Hub 1.8.2 | multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1790639009 | RHSA-2026:73038 |
| Red Hat Hardened Images | opentelemetry-collector-contrib-main-0.159.0-0.1.1.hum1 | RHSA-2026:60854 |
| Red Hat Hardened Images | opentelemetry-collector-contrib-main-0.162.0-0.2.hum1 | RHSA-2026:80217 |
| Red Hat Quay 3.10 | quay/quay-rhel8:1791462428 | RHSA-2026:79366 |
| Red Hat Quay 3.12 | quay/quay-rhel8:1791314514 | RHSA-2026:79546 |
Frequently Asked Questions
Is CVE-2026-79921 in your dependencies?
Find it across Go, including transitive dependencies.