Cloudanix VulnDB

CVE-2026-44235

Medium · 6.5

CVSS

6.5

EPSS

0.3%

Published

Sep 17, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in a messaging library can let a malicious server crash client programs that connect to it, causing temporary loss of service until the library is updated.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Unsigned size_t underflow in amqp_handle_input during AMQP frame parsing allows an undersized HEADER or METHOD frame to produce a wrapped encoded.len value that bypasses bounds checks in amqp_decode_properties and amqp_decode_table_internal, resulting in out-of-bounds read and process crash.

Why it matters to the business

Client applications using the library can be forced offline by a malicious or compromised AMQP server, interrupting message-driven workflows and requiring restarts or failover until the vulnerable library is replaced.

How an attack unfolds

An on-path attacker positions themselves between the client and a legitimate RabbitMQ server or supplies a malicious server endpoint. During the initial connection handshake the attacker sends a specially crafted undersized frame. The client library performs unchecked arithmetic on the frame length, triggering the underflow, out-of-bounds read, and immediate crash without requiring authentication or TLS bypass when certificate validation is absent.

How to fix it

Upgrade rabbitmq-c to version 0.16.0 or later. Rebuild and redeploy all dependent applications. If immediate upgrade is not possible, enforce TLS with certificate validation and restrict client connections to trusted server endpoints only.

How to confirm the fix worked

Confirm the installed library version is 0.16.0 or newer via package manager or build manifest. Recompile a test client against the updated library and verify that connection attempts with malformed frames no longer cause crashes. Monitor build pipelines for the updated dependency declaration.

Typical attack path

  1. Attacker gains network position to intercept or impersonate the AMQP server
  2. Client initiates connection to the attacker-controlled or compromised endpoint
  3. Attacker transmits undersized HEADER or METHOD frame during login
  4. amqp_handle_input performs size_t underflow and passes wrapped length to decoder
  5. Decoder performs out-of-bounds read, causing process termination

How to detect it

Review application and system logs for unexpected crashes or segfaults in processes linked against librabbitmq during AMQP connection establishment. Correlate client connection attempts with server IP addresses that are not in the expected broker allow-list.

What your security team should do

  • Immediately inventory all builds and containers that statically or dynamically link rabbitmq-c and prioritize upgrade to 0.16.0
  • Add dependency scanning rules that fail builds containing versions prior to 0.16.0
  • Enforce mutual TLS and server certificate pinning for all AMQP clients until patches are deployed

The record

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 packages

Ecosystem Package Introduced Fixed

Related vulnerabilities