Description
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to 0.16.0, a malicious AMQP server can send an undersized HEADER or METHOD frame during client login and cause unsigned size_t underflow in amqp_handle_input() in librabbitmq/amqp_connection.c. The parser subtracts HEADER_SIZE, fixed per-frame fields, and FOOTER_SIZE from state->target_size without first checking the minimum frame length. The wrapped encoded.len value is passed through amqp_decode_properties() to amqp_decode_table_internal(), where it defeats bounds checks and causes an out-of-bounds read and process crash. An on-path attacker can also trigger the issue when AMQP traffic is not protected by TLS with certificate validation. The demonstrated impact is denial of service, with no reliable memory disclosure or code execution shown. This issue is fixed in version 0.16.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| alanxz | rabbitmq-c | < 0.16.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.16.0-1 | — |
| Debian 13 | librabbitmq | 0.15.0-1+deb13u1 | — |
| Debian 12 | librabbitmq | 0.11.0-1+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | librabbitmq | 0.15.0-1ubuntu0.26.04.1 | USN-8724-1, USN-8437-1 |
| Ubuntu 25.10 | librabbitmq | 0.15.0-1ubuntu0.25.10.1 | USN-8437-1 |
| Ubuntu 24.04 LTS | librabbitmq | 0.11.0-1ubuntu0.1 | USN-8724-1, USN-8437-1 |
| Ubuntu 22.04 LTS | librabbitmq | 0.10.0-1ubuntu2.1 | USN-8724-1, USN-8437-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 2
- USN-8724-1 librabbitmq vulnerabilities Ubuntu Security Notices (USN) · Nov 12, 2026
- USN-8437-1 librabbitmq vulnerabilities Ubuntu Security Notices (USN) · Sep 21, 2026