CVE-2026-44235 rabbitmq-c: size_t underflow in AMQP frame length computation leads to out-of-bounds read
- 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 HEADER or METHOD frame during client login and cause unsigned size_t underflow in amqp_handle_input() in librabbitmq/amqp_connection.c. The parser subtracts HEADER_SIZE, fixed per-frame fields, and FOOTER_SIZE from state->target_size without first checking the minimum frame length. The wrapped encoded.len value is passed through amqp_decode_properties() to amqp_decode_table_internal(), where it defeats bounds checks and causes an out-of-bounds read and process crash. An on-path attacker can also trigger the issue when AMQP traffic is not protected by TLS with certificate validation. The demonstrated impact is denial of service, with no reliable memory disclosure or code execution shown. This issue is fixed in version 0.16.0.
Upgrade path
11 packages: 6 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/librabbitmq(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/librabbitmq(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/librabbitmq(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| 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 |
| 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) | All versions | No fix listed |
| redhat/librabbitmq(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/librabbitmq(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/librabbitmq(Red Hat:enterprise_linux:9) | 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-9mmv-r8g3-qp46 exploit
- https://github.com/alanxz/rabbitmq-c/pull/878
- https://github.com/alanxz/rabbitmq-c/commit/1d3afbb056fee5cc9ea05680bf32288715d0d802
- https://github.com/alanxz/rabbitmq-c/releases/tag/v0.16.0
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2536755 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-44235 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8437-1 vendor-advisory
- USN-8724-1 vendor-advisory
- ENISA EUVD EUVD-2026-82333 third-party-advisory