CVE-2026-44235

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

Published Sep 17, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A malicious AMQP server can send an undersized HEADER or METHOD frame during client login, causing an unsigned size_t underflow in rabbitmq-c’s amqp_handle_input() function. The parser subtracts the fixed frame header and footer sizes from the target size without verifying the minimum frame length, leading to an out‑of‑bounds read in amqp_decode_table_internal(). The resulting process crash manifests as a denial of service. No reliable memory disclosure or code execution has been demonstrated, so the impact is limited to service interruption.

Affected Systems

The vulnerability exists in versions of the rabbitmq-c client library before v0.16.0 distributed by alanxz. All releases prior to v0.16.0 are affected, and the issue is fixed in v0.16.0.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, while the EPSS score of less than 1 % suggests a low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalog. An attacker on the network path can trigger the denial of service by sending a specially crafted undersized frame to a client that is connecting or already authenticated, provided the AMQP traffic is not protected by TLS with proper certificate validation. No additional privileged access on the client side is required.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the rabbitmq-c client library to version 0.16.0 or later to eliminate the undersized frame handling flaw.
  • Configure all AMQP connections to use TLS with certificate validation so that traffic is encrypted and the vulnerable client will not accept malformed frames from untrusted sources.
  • If an upgrade is not immediately feasible, isolate the affected clients from untrusted networks, monitor for abnormal crashes, and limit the set of servers that can be contacted by the clients.

Generated by OpenCVE AI on September 19, 2026 at 03:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4658-1 librabbitmq security update
Debian DSA Debian DSA DSA-6343-1 librabbitmq security update
Ubuntu USN Ubuntu USN USN-8437-1 rabbitmq-c vulnerabilities
Ubuntu USN Ubuntu USN USN-8724-1 rabbitmq-c vulnerabilities
History
Type Values Removed Values Added
First Time appeared Alanxz
Alanxz rabbitmq-c
Vendors & Products Alanxz
Alanxz rabbitmq-c
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title rabbitmq-c: size_t underflow in AMQP frame length computation leads to out-of-bounds read
Weaknesses CWE-125
CWE-191
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 17, 2026, 5:43 PM
Reserved
May 5, 2026, 3:42 PM
Status
Awaiting Analysis
Published
Sep 17, 2026, 6:16 PM
Modified
Sep 30, 2026, 5:43 PM
Severity
Moderate
Public date
Sep 17, 2026, 5:09 PM