Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-44235 EUVD-2026-82333

rabbitmq-c: size_t underflow in AMQP frame length computation leads to out-of-bounds read

Published Sep 17, 2026 · Updated Sep 17, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 librabbitmq 0.16.0-1 —
Debian 13 librabbitmq 0.15.0-1+deb13u1 —
Debian 12 librabbitmq 0.11.0-1+deb12u2 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 3 librabbitmq No fix yet —

Advisories 2

References