Threat Feed

CVE-2026-61547: rabbitmq-c: Heap Buffer Overflow in amqp_send_frame() When Serializing Oversized AMQP_FRAME_BODY

Exploitation: Public exploit · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-10

Description

rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to version 0.17.0, a heap buffer overflow exists in rabbitmq-c when the public amqp_send_frame() API is used to serialize an oversized AMQP_FRAME_BODY. The issue occurs because amqp_frame_to_bytes() copies frame.payload.body_fragment.len bytes into the connection outbound buffer without validating that the body fragment fits within the allocated frame buffer. An application that passes an oversized body frame to amqp_send_frame() can trigger a heap out-of-bounds write, resulting in process crash and memory corruption. This issue has been patched in version 0.17.0.

Enclave's analysis

rabbitmq-c before 0.17.0 has a heap overflow in amqp_send_frame(). It copies an oversized body frame into the outbound buffer without a length check. Only an application that calls this low-level API directly with a too-large body can trigger it. The CVSS 9.8 looks overstated. A crash is the realistic outcome. Only a local ASan proof of concept exists, with no known exploitation. Upgrade to 0.17.0 or a distro-patched build.

Fix

Upgrade rabbitmq-c (librabbitmq) to 0.17.0. No fixed version is listed for rabbitmq-c, Mageia librabbitmq packages; follow the vendor advisory.

Affected versions

ProductVulnerableFixed in
rabbitmq-c< 0.17.0Not listed
rabbitmq-c (librabbitmq)< 0.17.00.17.0
Mageia librabbitmq packagesVersions before the Mageia update MGASA-2026-0397Not listed

Seen in 3 sources