CVE-2026-59986

rabbitmq-c: amqp_decode_bytes size_t integer overflow bypasses bounds check on 32-bit (OOB read)

Published Nov 10, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

rabbitmq-c is a C-language AMQP client library for RabbitMQ. Before version 0.17.0, a bounds check on a decoded BYTES/UTF8 field overflows on 32-bit systems when the offset plus length exceeds SIZE_MAX. The overflow causes the decoded amqp_bytes_t to carry a multi-gigabyte length that points into a small frame buffer, leading to an out-of-bounds read of up to ~4 GB of process memory. This can disclose sensitive data or cause denial of service on 32-bit platforms such as ARM, MIPS, x86 ILP32, and embedded IoT AMQP clients. The flaw does not affect 64-bit builds where size_t is 64-bit, and it was patched in version 0.17.0.

Affected Systems

Vendors: alanxz rabbitmq-c library. All releases before 0.17.0 are affected; the issue was fixed in version 0.17.0 and later. The vulnerability primarily affects 32‑bit platforms such as ARM, MIPS, and x86 ILP32, as well as embedded IoT AMQP clients used on 32‑bit systems.

Risk and Exploitability

The CVSS score of 7.4 indicates high severity, but the EPSS score of less than 1% reflects a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. A malicious actor could exploit the flaw by sending a specially crafted AMQP packet to a vulnerable client on a 32-bit system, potentially reading sensitive memory or causing a denial of service. The attack requires access to the AMQP wire, making it an internal or partially trusted network threat. 64-bit systems are immune, but any 32-bit deployment exposed to the wire remains at risk. The issue has been patched in version 0.17.0.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade rabbitmq-c to version 0.17.0 or newer.
  • If an upgrade cannot be performed immediately, block or restrict all AMQP traffic to the vulnerable client until the patch is applied.
  • Configure monitoring for abnormal memory access or application crashes that may indicate exploitation attempts.

Generated by OpenCVE AI on November 15, 2026 at 04:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4763-1 librabbitmq security update
Debian DSA Debian DSA DSA-6447-1 librabbitmq security update
Ubuntu USN Ubuntu USN USN-8724-1 rabbitmq-c vulnerabilities
History
Type Values Removed Values Added
First Time appeared Alanxz
Alanxz rabbitmq-c
Vendors & Products Alanxz
Alanxz rabbitmq-c
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title rabbitmq-c: amqp_decode_bytes size_t integer overflow bypasses bounds check on 32-bit (OOB read)
Weaknesses CWE-125
CWE-190
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 10, 2026, 4:42 PM
Reserved
Jul 7, 2026, 7:41 PM
Status
Deferred
Published
Nov 10, 2026, 5:17 PM
Modified
Nov 12, 2026, 10:18 PM