CVE-2026-61547: 
Alma Linux vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Identify vulnerable applications: Determine if the target application links against rabbitmq-c version ≤ 0.16.0 and uses the low-level amqp_send_frame() API directly (rather than higher-level publish APIs).
  2. Set up the environment: Obtain or compile a vulnerable version of rabbitmq-c (< 0.17.0). No RabbitMQ broker or network connection is required.
  3. Create a connection object: Call amqp_new_connection() to allocate a connection state object, which internally allocates the default 65,536-byte outbound frame buffer via amqp_tune_connection().
  4. Construct an oversized BODY frame: Allocate a body buffer larger than 65,536 bytes (e.g., 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.
  5. Trigger the overflow: Call 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.
  6. Achieve impact: The out-of-bounds write corrupts adjacent heap memory, causing an immediate process crash (confirmed by ASan) or, in production environments without memory sanitizers, potential heap metadata corruption that may be further exploitable (GitHub Advisory).

Indicators of compromise

  • Process: Unexpected crashes or segmentation faults in applications linking rabbitmq-c, particularly in processes that use the amqp_send_frame() API; core dumps referencing amqp_frame_to_bytes or amqp_connection.c:467 in stack traces.
  • Logs: Application crash logs or system logs (e.g., dmesg, journalctl) showing abnormal termination of RabbitMQ client processes; AddressSanitizer output mentioning heap-buffer-overflow WRITE at amqp_frame_to_bytes.
  • File System: Unexpected core dump files (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.
  • Network: Absence of expected AMQP traffic from a client that has crashed; no specific network-based IOC since exploitation occurs locally before any socket write (GitHub Advisory).

Mitigation and workarounds

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).

Community reactions

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).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

librabbitmq: 0.11.0-1+deb12u3

Fixed

sid

librabbitmq: 0.17.0-1

Fixed

trixie

librabbitmq: 0.15.0-1+deb13u2

Fixed

Ubuntu

Fixed

bionic (esm-apps)

librabbitmq: 0.8.0-1ubuntu0.18.04.2+esm1

Fixed

devel

librabbitmq

Not Affected

focal (esm-infra)

librabbitmq: 0.10.0-1ubuntu0.20.04.1~esm1

Fixed

jammy

librabbitmq: 0.10.0-1ubuntu2.2

Fixed

noble

librabbitmq: 0.11.0-1ubuntu0.2

Fixed

resolute

librabbitmq: 0.15.0-1ubuntu0.26.04.2

Fixed

trusty (esm-infra-legacy)

librabbitmq

Not Affected

xenial (esm-apps-legacy)

librabbitmq: 0.7.1-1ubuntu0.2+esm1

Fixed

RHEL / CentOS

Fixed

RHEL 8

:appstream:librabbitmq-0:0.9.0-6.el8_10.1.src

Fixed

RHEL 9

librabbitmq.src

Affected

RHEL 10

librabbitmq.src

Affected

Source: This report was generated using AI

Related Alma Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99661HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-core
NoYesNov 20, 2026
CVE-2026-129538MEDIUM6.9
  • PHP logoPHP
  • php8.4-fpm
NoYesNov 19, 2026
CVE-2026-15353MEDIUM6.3
  • PHP logoPHP
  • php:8.3::php-common
NoYesNov 19, 2026
CVE-2026-129506MEDIUM6.3
  • PHP logoPHP
  • php:8.3::php-cli
NoYesNov 19, 2026
CVE-2026-129501MEDIUM6.3
  • PHP logoPHP
  • php8.5-zip
NoYesNov 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management