CVE-2026-59986
JSON

7.4high

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

Severity
7.4high CVSS:3.1 by GitHub_M
Exploit likelihood
0.51% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-RABBITMQ-C-2026-59986GHSA-jgjf-7fwf-f3c7

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.

Affected

Product or packageVersionsReported by
alanxz rabbitmq-c< 0.17.0CVE List
rabbitmq-c (Bitnami)before 0.17.0Bitnami Vulnerability Database

All scores

GitHub_M7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-125CWE-190

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-59986 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-59986 changed 2026-11-12Public domain
Bitnami Vulnerability DatabaseBIT-RABBITMQ-C-2026-59986 changed 2026-11-27Apache-2.0