
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-61547 is a heap buffer overflow vulnerability in rabbitmq-c, the C-language AMQP client library for RabbitMQ, affecting all versions prior to 0.17.0 (≤ 0.16.0). The flaw exists in the amqp_send_frame() public API, which fails to validate that an oversized AMQP_FRAME_BODY payload fits within the connection's outbound buffer before performing a memcpy(), resulting in a heap out-of-bounds write. The vulnerability was reported by researcher yousif-IQ, the fix was merged on July 1, 2026, and the security advisory (GHSA-hfjv-vcp3-39wh) was published on July 2, 2026, with NVD publication on November 10, 2026. It carries a CVSS v3.0 base score of 9.8 (Critical) (GitHub Advisory).
The root cause is an out-of-bounds write (CWE-787) in librabbitmq/amqp_connection.c. The vulnerable code path is amqp_send_frame() → amqp_send_frame_inner() → amqp_frame_to_bytes(), where the AMQP_FRAME_BODY case performs memcpy(amqp_offset(out_frame, HEADER_SIZE), body->bytes, body->len) without checking whether body->len exceeds the outbound buffer capacity (default 65,536 bytes). Unlike the METHOD and HEADER frame cases, which already bound their encoders to buffer.len - HEADER_SIZE - FOOTER_SIZE, the BODY case blindly trusts the caller-supplied length. An attacker or malicious input that controls the construction of an amqp_frame_t with body_fragment.len set to a value exceeding the buffer (e.g., 200,000 bytes) and passes it to amqp_send_frame() will trigger the overflow entirely locally, before any network I/O with a RabbitMQ broker. A complete PoC and ASan-confirmed crash output are included in the official advisory (GitHub Advisory, Fix PR #892).
Successful exploitation causes a heap out-of-bounds write within the rabbitmq-c process, leading to process crash (denial of service) and heap memory corruption. Depending on the application's memory layout, the corruption of adjacent heap metadata could potentially be leveraged for arbitrary code execution, affecting confidentiality, integrity, and availability at the highest severity. Applications using the low-level amqp_send_frame() API with attacker-influenced or insufficiently validated input to construct AMQP_FRAME_BODY frames are directly at risk; higher-level publishing APIs that split message bodies into valid frame-sized chunks are less likely to be affected (GitHub Advisory).
A proof-of-concept (PoC) exploit in C is publicly available within the official GitHub Security Advisory, demonstrating the heap buffer overflow with AddressSanitizer output confirming the crash. The PoC requires no network connectivity, no authentication, and no broker — only the ability to call amqp_send_frame() with a crafted frame, making it trivially reproducible in any application linking a vulnerable version of rabbitmq-c. There is no evidence of in-the-wild exploitation at this time, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.0039 (low probability of near-term exploitation), and NVD SSVC classifies exploitation status as "poc" with automatable impact (GitHub Advisory, Feedly).
amqp_send_frame() API directly (rather than higher-level publish APIs).amqp_new_connection() to allocate a connection state object, which internally allocates the default 65,536-byte outbound frame buffer via amqp_tune_connection().malloc(200000) filled with 'A' bytes). Build an amqp_frame_t with frame_type = AMQP_FRAME_BODY, channel = 1, payload.body_fragment.bytes pointing to the buffer, and payload.body_fragment.len = 200000.amqp_send_frame(conn, &frame). This invokes amqp_frame_to_bytes(), which performs memcpy() of 200,000 bytes into the 65,536-byte heap buffer without bounds checking, writing 134,464 bytes past the end of the allocation.amqp_send_frame() API; core dumps referencing amqp_frame_to_bytes or amqp_connection.c:467 in stack traces.dmesg, journalctl) showing abnormal termination of RabbitMQ client processes; AddressSanitizer output mentioning heap-buffer-overflow WRITE at amqp_frame_to_bytes.core.*) in the working directory of RabbitMQ client applications; presence of the PoC file poc_send_frame_body_oob.c or compiled binary poc_send_frame_body_oob on the system.The primary remediation is to upgrade rabbitmq-c to version 0.17.0 or later, which adds a bounds check in amqp_frame_to_bytes() that validates body->len against the usable payload space (buffer.len - HEADER_SIZE - FOOTER_SIZE) and returns AMQP_STATUS_BAD_AMQP_DATA for oversized frames (v0.17.0 Release, Fix PR #892). As a workaround where immediate patching is not possible, applications should validate that body_fragment.len does not exceed the negotiated frame_max (default 65,536 bytes) before passing frames to amqp_send_frame(), and restrict use of the low-level frame API to trusted, internally generated data. Network-level access controls restricting who can interact with RabbitMQ services provide defense-in-depth but do not address the root cause (GitHub Advisory).
The vulnerability was picked up by multiple Linux distribution security teams, with Debian issuing DLA-4763-1 for librabbitmq, Ubuntu publishing USN-8724-1, and Mageia releasing MGASA-2026-0397. Security tracking platforms including Tenable (Nessus plugins 330640, 341669, 344621), Qualys (detections 6287396, 692670), and AusCERT (ESB-2026.9666, ESB-2026.10518) published detection coverage. The NixOS security tracker also opened an issue (NixOS/nixpkgs#587332) to address the vulnerability in nixpkgs. Community reaction has been measured, consistent with a library-level vulnerability requiring application-specific exploitation conditions (Debian LTS, Ubuntu Advisory).
Fix availability across major Linux distributions and their releases.
bookworm
librabbitmq: 0.11.0-1+deb12u3
sid
librabbitmq: 0.17.0-1
trixie
librabbitmq: 0.15.0-1+deb13u2
bionic (esm-apps)
librabbitmq: 0.8.0-1ubuntu0.18.04.2+esm1
devel
librabbitmq
focal (esm-infra)
librabbitmq: 0.10.0-1ubuntu0.20.04.1~esm1
jammy
librabbitmq: 0.10.0-1ubuntu2.2
noble
librabbitmq: 0.11.0-1ubuntu0.2
resolute
librabbitmq: 0.15.0-1ubuntu0.26.04.2
trusty (esm-infra-legacy)
librabbitmq
xenial (esm-apps-legacy)
librabbitmq: 0.7.1-1ubuntu0.2+esm1
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."