CVE-2026-59986
CVE-2026-59986 · rabbitmq-c: amqp_decode_bytes size_t integer overflow bypasses bounds check on 32-bit (OOB read)
CVSS 7.4 · High · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- rabbitmq-cNo fix published
- librabbitmq Debian 12Update to 0.11.0-1+deb12u3
- librabbitmq Debian 13Update to 0.15.0-1+deb13u2
- librabbitmq Debian 14Update to 0.17.0-1
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="librabbitmq"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- USN-8724-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
- DLA-4763-1 · Debian 11, Debian 12 ·
- DSA-6447-1 · Debian 13 ·
Stack: system
Affected products and versions
rabbitmq-c
- Versions
- < 0.17.0: Affected
No fix published
librabbitmq Debian 12
- Versions
- 0.11.0-1
- 0.11.0-1+deb12u1
- 0.11.0-1+deb12u2
- Affected ranges
- ECOSYSTEM: < 0.11.0-1+deb12u3
Update to 0.11.0-1+deb12u3
librabbitmq Debian 13
- Versions
- 0.15.0-1
- 0.15.0-1+deb13u1
- Affected ranges
- ECOSYSTEM: < 0.15.0-1+deb13u2
Update to 0.15.0-1+deb13u2
librabbitmq Debian 14
- Versions
- 0.15.0-1
- 0.16.0-1
- Affected ranges
- ECOSYSTEM: < 0.17.0-1
Update to 0.17.0-1
librabbitmq Ubuntu Pro 14.04 LTS
- Versions
- 0.3.0-1
- 0.4.1-1
- 0.4.1-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: < 0.4.1-1ubuntu0.1~esm2
Update to 0.4.1-1ubuntu0.1~esm2
librabbitmq Ubuntu Pro 16.04 LTS
- Versions
- 0.5.2-2
- 0.7.1-1
- 0.7.1-1ubuntu0.1
- 0.7.1-1ubuntu0.2
- Affected ranges
- ECOSYSTEM: < 0.7.1-1ubuntu0.2+esm1
Update to 0.7.1-1ubuntu0.2+esm1
librabbitmq Ubuntu Pro 18.04 LTS
- Versions
- 0.8.0-1
- 0.8.0-1build1
- 0.8.0-1ubuntu0.18.04.1
- 0.8.0-1ubuntu0.18.04.2
- Affected ranges
- ECOSYSTEM: < 0.8.0-1ubuntu0.18.04.2+esm1
Update to 0.8.0-1ubuntu0.18.04.2+esm1
librabbitmq Ubuntu Pro 20.04 LTS
- Versions
- 0.9.0-0.2
- 0.9.0-0.2ubuntu1
- 0.10.0-1
- Affected ranges
- ECOSYSTEM: < 0.10.0-1ubuntu0.20.04.1~esm1
Update to 0.10.0-1ubuntu0.20.04.1~esm1
librabbitmq Ubuntu 22.04 LTS
- Versions
- 0.10.0-1
- 0.10.0-1build1
- 0.10.0-1ubuntu1
- 0.10.0-1ubuntu2
- 0.10.0-1ubuntu2.1
- Affected ranges
- ECOSYSTEM: < 0.10.0-1ubuntu2.2
Update to 0.10.0-1ubuntu2.2
librabbitmq Ubuntu 24.04 LTS
- Versions
- 0.11.0-1
- 0.11.0-1build1
- 0.11.0-1build2
- 0.11.0-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: < 0.11.0-1ubuntu0.2
Update to 0.11.0-1ubuntu0.2
librabbitmq Ubuntu 26.04 LTS
- Versions
- 0.15.0-1build1
- 0.15.0-1build2
- 0.15.0-1ubuntu0.26.04.1
- Affected ranges
- ECOSYSTEM: < 0.15.0-1ubuntu0.26.04.2
Update to 0.15.0-1ubuntu0.26.04.2