rabbitmq-c: Heap Buffer Overflow in amqp_send_frame() When Serializing Oversized AMQP_FRAME_BODY
- State
- Published
- Severity
- 9.8 Critical
- Published
- Nov 10, 2026
- Updated
- Nov 14, 2026
- Reserved
- Jul 10, 2026
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.
| Product | Versions |
|---|---|
| rabbitmq-c alanxz | < 0.17.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.0 | 9.8 Critical | GitHub_M |
Weaknesses
- CWE-787 Out-of-bounds Write
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.