Description
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to version 0.17.0, a heap buffer overflow exists in rabbitmq-c when the public amqp_send_frame() API is used to serialize an oversized AMQP_FRAME_BODY. The issue occurs because amqp_frame_to_bytes() copies frame.payload.body_fragment.len bytes into the connection outbound buffer without validating that the body fragment fits within the allocated frame buffer. An application that passes an oversized body frame to amqp_send_frame() can trigger a heap out-of-bounds write, resulting in process crash and memory corruption. 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 |
Advisories 1
- USN-8724-1 librabbitmq vulnerabilities Ubuntu Security Notices (USN) · Nov 12, 2026