Описание
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to 0.16.0, a malicious AMQP server can send an undersized connection.tune.frame_max value during amqp_login(), and rabbitmq-c accepts the value in amqp_login_inner() in librabbitmq/amqp_socket.c. amqp_tune_connection() in librabbitmq/amqp_connection.c uses frame_max to reallocate the outbound buffer without enforcing AMQP_FRAME_MIN_SIZE. Immediate serialization of connection.tune-ok through amqp_frame_to_bytes() writes beyond the undersized heap allocation, causing memory corruption and likely denial of service. An on-path attacker can also trigger the flaw against plaintext AMQP traffic. Code execution is theoretically possible but was not demonstrated. This issue is fixed in version 0.16.0.
A flaw was found in rabbitmq-c. A malicious AMQP (Advanced Message Queuing Protocol) server or an on-path attacker can send an undersized frame size during the login handshake. This can lead to a heap buffer overflow, causing memory corruption and potentially a denial of service. Code execution is theoretically possible but has not been demonstrated.
Отчет
This is a flaw in the rabbitmq-c client library, which can lead to a denial of service. The vulnerability arises from a heap buffer overflow when a client connects to a malicious AMQP server that sends a specially crafted frame_max value during login. Additionally, an on-path attacker can exploit this flaw against plaintext AMQP traffic, making encrypted communication crucial for mitigating this risk.
Меры по смягчению последствий
To mitigate this issue, ensure that rabbitmq-c clients only connect to trusted AMQP servers. Additionally, enforce the use of TLS/SSL for all AMQP communication to prevent on-path attackers from exploiting this vulnerability against plaintext traffic. Consult your AMQP server and client documentation for specific configuration steps to enable and enforce TLS/SSL.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 7 | librabbitmq | Affected | ||
| Red Hat Enterprise Linux 10 | librabbitmq | Fixed | RHSA-2026:84795 | 19.10.2026 |
| Red Hat Enterprise Linux 8 | librabbitmq | Fixed | RHSA-2026:75582 | 05.10.2026 |
| Red Hat Enterprise Linux 8 | librabbitmq | Fixed | RHSA-2026:75582 | 05.10.2026 |
| Red Hat Enterprise Linux 9 | librabbitmq | Fixed | RHSA-2026:82094 | 13.10.2026 |
| Red Hat Enterprise Linux 9 | librabbitmq | Fixed | RHSA-2026:98467 | 11.11.2026 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
EPSS
6.5 Medium
CVSS3
Связанные уязвимости
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to 0.16.0, a malicious AMQP server can send an undersized connection.tune.frame_max value during amqp_login(), and rabbitmq-c accepts the value in amqp_login_inner() in librabbitmq/amqp_socket.c. amqp_tune_connection() in librabbitmq/amqp_connection.c uses frame_max to reallocate the outbound buffer without enforcing AMQP_FRAME_MIN_SIZE. Immediate serialization of connection.tune-ok through amqp_frame_to_bytes() writes beyond the undersized heap allocation, causing memory corruption and likely denial of service. An on-path attacker can also trigger the flaw against plaintext AMQP traffic. Code execution is theoretically possible but was not demonstrated. This issue is fixed in version 0.16.0.
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to 0.16.0, a malicious AMQP server can send an undersized connection.tune.frame_max value during amqp_login(), and rabbitmq-c accepts the value in amqp_login_inner() in librabbitmq/amqp_socket.c. amqp_tune_connection() in librabbitmq/amqp_connection.c uses frame_max to reallocate the outbound buffer without enforcing AMQP_FRAME_MIN_SIZE. Immediate serialization of connection.tune-ok through amqp_frame_to_bytes() writes beyond the undersized heap allocation, causing memory corruption and likely denial of service. An on-path attacker can also trigger the flaw against plaintext AMQP traffic. Code execution is theoretically possible but was not demonstrated. This issue is fixed in version 0.16.0.
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to ...
EPSS
6.5 Medium
CVSS3