CVE-2026-44236 rabbitmq-c: Heap buffer overflow in AMQP login handshake via undersized connection.tune.frame_max
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
11 packages: 9 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/librabbitmq(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| debian/librabbitmq(Debian 12) | < 0.11.0-1+deb12u2; = 0.11.0-1; = 0.11.0-1+deb12u1 | 0.11.0-1+deb12u2 | Fixed |
| debian/librabbitmq(Debian 13) | < 0.15.0-1+deb13u1; = 0.15.0-1 | 0.15.0-1+deb13u1 | Fixed |
| debian/librabbitmq(Debian 14) | < 0.16.0-1; = 0.15.0-1 | 0.16.0-1 | Fixed |
| redhat/librabbitmq(Red Hat enterprise_linux 10.2) | < 0.14.0-3.el10_2.1 | 0.14.0-3.el10_2.1 | Fixed |
| redhat/librabbitmq(Red Hat enterprise_linux 8) | < 0.9.0-6.el8_10 | 0.9.0-6.el8_10 | Fixed |
| redhat/librabbitmq(Red Hat enterprise_linux 9) | < 0.11.0-7.el9_8.1 | 0.11.0-7.el9_8.1 | Fixed |
| ubuntu/librabbitmq(Ubuntu 22.04) | < 0.10.0-1ubuntu2.1 | 0.10.0-1ubuntu2.1 | Fixed |
| ubuntu/librabbitmq(Ubuntu 24.04) | < 0.11.0-1ubuntu0.1 | 0.11.0-1ubuntu0.1 | Fixed |
| ubuntu/librabbitmq(Ubuntu 26.04) | < 0.15.0-1ubuntu0.26.04.1 | 0.15.0-1ubuntu0.26.04.1 | Fixed |
| alanxz rabbitmq-c | = < 0.16.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| alanxz rabbitmq-c | = < 0.16.0 | No fix listed |
| redhat/librabbitmq(Red Hat:enterprise_linux:10.2) | < 0.14.0-3.el10_2.1 | 0.14.0-3.el10_2.1 |
| redhat/librabbitmq(Red Hat:enterprise_linux:8) | < 0.9.0-6.el8_10 | 0.9.0-6.el8_10 |
| redhat/librabbitmq(Red Hat:enterprise_linux:9) | < 0.11.0-7.el9_8.1 | 0.11.0-7.el9_8.1 |
| redhat/librabbitmq(Red Hat:rhel_els:7) | All versions | No fix listed |
| debian/librabbitmq(Debian:12) | < 0.11.0-1+deb12u2 | 0.11.0-1+deb12u2 |
| debian/librabbitmq(Debian:12) | = 0.11.0-1 | No fix listed |
| debian/librabbitmq(Debian:12) | = 0.11.0-1+deb12u1 | No fix listed |
| debian/librabbitmq(Debian:13) | < 0.15.0-1+deb13u1 | 0.15.0-1+deb13u1 |
| debian/librabbitmq(Debian:13) | = 0.15.0-1 | No fix listed |
| debian/librabbitmq(Debian:14) | < 0.16.0-1 | 0.16.0-1 |
| debian/librabbitmq(Debian:14) | = 0.15.0-1 | No fix listed |
| ubuntu/librabbitmq(Ubuntu:22.04) | < 0.10.0-1ubuntu2.1 | 0.10.0-1ubuntu2.1 |
| ubuntu/librabbitmq(Ubuntu:24.04) | < 0.11.0-1ubuntu0.1 | 0.11.0-1ubuntu0.1 |
| ubuntu/librabbitmq(Ubuntu:26.04) | < 0.15.0-1ubuntu0.26.04.1 | 0.15.0-1ubuntu0.26.04.1 |
References
- https://github.com/alanxz/rabbitmq-c/security/advisories/GHSA-jh48-qjf5-fx5v exploit
- 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
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:84795 patch vendor-advisory
- RHSA-2026:75582 patch vendor-advisory
- RHSA-2026:82094 patch vendor-advisory
- Red Hat Bugzilla 2536500 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-44236 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8437-1 vendor-advisory
- USN-8724-1 vendor-advisory
- ENISA EUVD EUVD-2026-82332 third-party-advisory