Skip to content
Heist/ feed
HighFix available

rabbitmq-c: Heap buffer overflow in AMQP login handshake via undersized connection.tune.frame_max

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

BIT-rabbitmq-c-2026-44236

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:BIT-rabbitmq-c-2026-44236

rabbitmq-c

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
0.16.0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.16.0"
          }
        ]
      }
    ],
    "package": {
      "name": "rabbitmq-c",
      "purl": "pkg:bitnami/rabbitmq-c",
      "ecosystem": "Bitnami"
    },
    "severity": [
      {
        "type": "CVSS_V3",
        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"
      }
    ],
    "database_specific": {
      "source": "https://github.com/bitnami/vulndb/tree/main/data/rabbitmq-c/BIT-rabbitmq-c-2026-44236.json"
    }
  }
]
Related CVEs
CVE-2026-44236

Source reference: /aliases

Publisher severity

high

Source reference: /database_specific/severity

Event
#25978 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement