CVE-2026-59986rabbitmq-c: amqp_decode_bytes size_t integer overflow bypasses bounds check on 32-bit…
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | librabbitmq | Fixed | 0.15.0-1ubuntu0.26.04.2 | UBUNTU-CVE-2026-59986 |
| Ubuntu 24.04 | librabbitmq | Fixed | 0.11.0-1ubuntu0.2 | UBUNTU-CVE-2026-59986 |
| Ubuntu 22.04 | librabbitmq | Fixed | 0.10.0-1ubuntu2.2 | UBUNTU-CVE-2026-59986 |
| Ubuntu 20.04 | librabbitmq | Fix pending | 0.10.0-1ubuntu0.20.04.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-59986 |
| Ubuntu 18.04 | librabbitmq | Fix pending | 0.8.0-1ubuntu0.18.04.2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-59986 |
| Ubuntu 16.04 | librabbitmq | Fix pending | 0.7.1-1ubuntu0.2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2026-59986 |
| Ubuntu 14.04 | librabbitmq | Fix pending | 0.4.1-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-59986 |
| Debian 14 | librabbitmq | Fixed | 0.17.0-1 | DEBIAN-CVE-2026-59986 |
| Debian 13 | librabbitmq | Fixed | 0.15.0-1+deb13u2 | DEBIAN-CVE-2026-59986 |
| Debian 12 | librabbitmq | Fixed | 0.11.0-1+deb12u3 | DEBIAN-CVE-2026-59986 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- alanxz rabbitmq-c: affected: < 0.17.0
References
- https://github.com/alanxz/rabbitmq-c/security/advisories/GHSA-jgjf-7fwf-f3c7
- https://github.com/alanxz/rabbitmq-c/pull/888
- https://github.com/alanxz/rabbitmq-c/releases/tag/v0.17.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.