Heap-based Buffer Overflow Affecting librabbitmq package, versions <0.11.0-1+deb12u2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBRABBITMQ-18388442
  • published29 Jul 2026
  • disclosed17 Sept 2026

Introduced: 29 Jul 2026

CVE-2026-44236  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Echo:latest librabbitmq to version 0.11.0-1+deb12u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream librabbitmq package and not the librabbitmq package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1