CVE-2026-44235 PUBLISHED

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

Assigner: GitHub_M
Reserved: 05.05.2026 Published: 17.09.2026 Updated: 17.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor alanxz
Product rabbitmq-c
Versions
  • Version < 0.16.0 is affected

References

Problem Types

  • CWE-125: Out-of-bounds Read CWE
  • CWE-191: Integer Underflow (Wrap or Wraparound) CWE