Skip to main content

rabbitmq-c CVE-2026-59986

| EUVDEUVD-2026-121280 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-11-10 GitHub_M
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect 32-bit client to malicious/MITM broker
  2. Delivery
    Send AMQP frame with BYTES length 0xFFFFFFF5
  3. Exploit
    Integer overflow wraps bounds check
  4. Execution
    Decode oversized amqp_bytes_t into small buffer
  5. Persist
    Application processes decoded value
  6. Impact
    OOB read discloses memory or crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a 32-bit build of rabbitmq-c <= 0.16.0 (ARM, MIPS, x86 ILP32, embedded/IoT clients) where size_t is 32 bits - it is explicitly NOT exploitable on 64-bit systems. The attacker must control the data the client parses: either operate a malicious/compromised AMQP broker the client connects to, or perform a man-in-the-middle on an unencrypted (non-TLS) AMQP connection, then send a frame whose BYTES/UTF8 table field length is set near 0xFFFFFFF5 so that offset o + len wraps past SIZE_MAX. The OOB read is actually triggered only when the application subsequently processes the decoded amqp_bytes_t (e.g. amqp_table_clone, logging, comparison). Limiting factors: 64-bit targets are immune; a trusted/authenticated broker over TLS removes the practical attack surface; and the high attack complexity reflects the dependency on the 32-bit platform condition.

Impact

CVSS is 7.4 (High) with vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H, meaning a network-reachable, no-authentication, no-user-interaction flaw whose complexity is rated high. The single most important risk modifier is architecture: the advisory and description are explicit that this is exploitable ONLY on 32-bit builds (ARM, MIPS, x86 ILP32, embedded/IoT AMQP clients) where size_t is 32-bit; on 64-bit systems size_t is 64-bit and the o+len addition does not wrap, so it is not exploitable there. That dependency is precisely why AC:H is justified and why a 7.4 overstates risk for the dominant 64-bit server/desktop population while being accurate for the embedded 32-bit fleet. No EPSS score and no KEV status were provided in the input, so exploitation probability and active-exploitation signals cannot be weighed; absence of these is not evidence of low risk, only missing data. There is no SSVC-style automatable/technical-impact record supplied either; the only decision signal present is vuln.today's priority label 'this_week' (not act_now/emergency). No KEV listing and no marked working exploit were provided, so this reads as a patch-this-week library update for 32-bit deployments rather than an emergency, with the caveat that information disclosure of up to ~4GB of process memory (potentially heap contents and credentials) is a serious impact where the preconditions are met. Key gap to verify: the flaw requires the rabbitmq-c client to connect to an attacker-controlled or MITM'd broker, a trust condition the CVSS network vector does not convey.

Exploit ScenarioDerived

A 32-bit embedded or IoT device running rabbitmq-c <= 0.16.0 connects (or is MITM'd on an unencrypted/non-TLS AMQP link) to a malicious or compromised broker, which sends an AMQP frame containing a table BYTES/UTF8 field with length 0xFFFFFFF5; the o+len bounds check wraps past SIZE_MAX and passes, yielding an amqp_bytes_t with a ~4GB length into a tiny frame buffer. When the application then processes that value (clone, log, compare), it reads up to ~4GB of adjacent process memory, disclosing heap contents/credentials or crashing with SIGSEGV. No marked working exploit was provided, but the GHSA advisory documents a detailed, reproducible attack path and the fix ships a regression test.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

An integer overflow in rabbitmq-c's AMQP table decoder lets a malicious or man-in-the-middle AMQP peer hand a 32-bit client a BYTES/UTF8 field length near 0xFFFFFFF5, so that the library's offset-plus-length bounds check wraps past SIZE_MAX and is wrongly accepted, yielding an amqp_bytes_t claim of roughly 4 GB inside a small frame buffer. Affected are builds of rabbitmq-c up to and including 0.16.0 on 32-bit platforms (ARM, MIPS, x86 ILP32, embedded/IoT AMQP clients); 64-bit builds are not exploitable because size_t is 64 bits wide. The out-of-bounds read fires when the application actually consumes the decoded value (amqp_table_clone, logging, comparison), producing memory disclosure or a crash; CVSS is 7.4 High (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H), exploitation requires controlling the peer's data - a hostile broker or a MITM on a non-TLS connection - and no public exploit has been identified at time of analysis, with the vendor fix released in 0.17.0.

RemediationAI

Vendor-released patch: upgrade to rabbitmq-c 0.17.0, which replaces the vulnerable additive bounds check in amqp_decode_bytes and amqp_encode_bytes with an overflow-safe remaining-space comparison and adds a regression test (see the GitHub advisory GHSA-jgjf-7fwf-f3c7, PR #888, and release v0.17.0). Where upgrading is not immediately possible, the exposure can be removed rather than merely reduced: build or deploy the client on a 64-bit target, since the overflow requires size_t to be 32 bits and the flaw is not exploitable there; and where a 32-bit build must stay in service, connect only to a trusted, authenticated broker over TLS so that neither a hostile broker nor a man-in-the-middle on a plaintext AMQP connection can inject the crafted field length - the trade-off is that TLS does not protect against a compromised broker and adds certificate-management overhead. Because the out-of-bounds read only manifests when the application consumes the decoded amqp_bytes_t, avoiding operations such as amqp_table_clone, logging or comparison on untrusted table contents limits blast radius but does not fix the underlying defect.

Affected VersionsENISA

rabbitmq-c < 0.17.0

Affected Packages

euvd rabbitmq_c fix: 0.17.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

rabbitmq-c is a C client library implementing AMQP 0-9-1 framing, and its table field decoders in librabbitmq/amqp_private.h parse wire-supplied lengths into amqp_bytes_t structures. The root cause is CWE-190 integer overflow expressed as a CWE-125 out-of-bounds read: amqp_decode_bytes computed '*offset = o + len' and validated the sum against encoded.len, but len is a uint32_t taken straight from the AMQP wire as a BYTES/UTF8 field length, so on 32-bit targets (size_t == 32 bits) a length such as 0xFFFFFFF5 added to an 11-byte offset wraps to a small value that passes the check. The same defect existed in the encoding path, amqp_encode_bytes, which the upstream patch (PR #888) fixes by replacing the additive check with an overflow-safe comparison against remaining space - 'o <= encoded.len && input.len <= encoded.len - o' - since o can never exceed encoded.len, the subtraction cannot underflow. The upstream patch adds a dedicated regression test (tests/test_decode_bytes.c) exercising wrap-to-zero, wrap-small, max-length and 32-bit-style lengths; notably the project's OSS-Fuzz integration only exercised 64-bit builds, which is why this 32-bit-only class escaped fuzzing. Per the GHSA advisory, the decoded object ends up with .len around 4294967285 and .bytes pointing at frame_buffer + 11, so any subsequent use of the value reads far past the frame.

Know when Rabbitmq C gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 7.4 HIGH

AV:N and PR:N because a malicious or MITM broker needs no client-side credentials; AC:H because exploitation depends on a 32-bit target where size_t overflows; C:H/A:H for ~4GB OOB read and crash, I:N as it is read-only.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 17:18 EUVD
CVE Published
Nov 10, 2026 - 16:21 cve.org
HIGH 7.4

DescriptionCVE.org

rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to version 0.17.0, the bounds check (*offset = o + len) <= encoded.len overflows when o + len > SIZE_MAX on 32-bit systems. len is a uint32_t read from the AMQP wire as a BYTES/UTF8 field length. The overflow wraps the check to a small value that passes, producing a decoded amqp_bytes_t with a multi-GB .len pointing into a small frame buffer. This results in an out-of-bounds read of up to ~4GB of process memory on 32-bit systems (ARM, MIPS, x86 ILP32, embedded IoT AMQP clients). Enabling information disclosure or denial of service. Not exploitable on 64-bit systems where size_t is 64-bit. This issue has been patched in version 0.17.0.

Technical POC Analysis

CWE-190 (integer overflow/wraparound), with CWE-125 (out-of-bounds read) as the consequence.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the rabbitmq-c library affects all 32-bit implementations, including many embedded and IoT AMQP clients, potentially exposing sensitive memory or causing crashes when connecting to untrusted or compromised AMQP brokers. Leadership should prioritize remediation because these clients often operate in exposed environments where a successful attack could lead to data leakage or operational disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Medium
popular C AMQP client library, but 32-bit-only impact narrows real footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy