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

- Severity: High 7.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-10T16:21:03.810Z
- Modified: 2026-11-27T06:56:06.873Z
- Also known as: BIT-RABBITMQ-C-2026-59986, GHSA-jgjf-7fwf-f3c7
- Weaknesses: CWE-125, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- alanxz rabbitmq-c: < 0.17.0
- rabbitmq-c (Bitnami): before 0.17.0

## Every score

- GitHub_M: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/alanxz/rabbitmq-c/security/advisories/GHSA-jgjf-7fwf-f3c7> (exploit, web)
- <https://github.com/alanxz/rabbitmq-c/pull/888> (web)
- <https://github.com/alanxz/rabbitmq-c/releases/tag/v0.17.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59986> (web)

## Sources

- CVE List: [CVE-2026-59986](https://www.cve.org/CVERecord?id=CVE-2026-59986), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-59986](https://nvd.nist.gov/vuln/detail/CVE-2026-59986), Public domain, modified 2026-11-12
- Bitnami Vulnerability Database: [BIT-RABBITMQ-C-2026-59986](https://osv.dev/vulnerability/BIT-RABBITMQ-C-2026-59986), Apache-2.0, modified 2026-11-27

---

Page: https://cve.day/CVE-2026-59986 · Whole record: https://cve.day/CVE-2026-59986.json · Rebuilt by cve.day 2026-11-27T07:07:27.147Z
