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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| alanxz | rabbitmq-c | < 0.17.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | librabbitmq | 0.17.0-1 | — |
| Debian 13 | librabbitmq | 0.15.0-1+deb13u2 | — |
| Debian 12 | librabbitmq | 0.11.0-1+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | librabbitmq | 0.15.0-1ubuntu0.26.04.2 | USN-8724-1 |
| Ubuntu 24.04 LTS | librabbitmq | 0.11.0-1ubuntu0.2 | USN-8724-1 |
| Ubuntu 22.04 LTS | librabbitmq | 0.10.0-1ubuntu2.2 | USN-8724-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | librabbitmq | 0.10.0-1ubuntu0.20.04.1~esm1 | USN-8724-1 |
| Ubuntu Pro 18.04 LTS | librabbitmq | 0.8.0-1ubuntu0.18.04.2+esm1 | USN-8724-1 |
| Ubuntu Pro 16.04 LTS | librabbitmq | 0.7.1-1ubuntu0.2+esm1 | USN-8724-1 |
| Ubuntu Pro 14.04 LTS | librabbitmq | 0.4.1-1ubuntu0.1~esm2 | USN-8724-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | librabbitmq | No fix yet | — |
Advisories 1
- USN-8724-1 librabbitmq vulnerabilities Ubuntu Security Notices (USN) · Nov 12, 2026