CVE-2026-59986
published high CVSS 3.1 · 7.4rabbitmq-c: amqp_decode_bytes size_t integer overflow bypasses bounds check on 32-bit (OOB read)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| alanxz | — | rabbitmq-c< 0.17.0 | Affected | Not stated | GitHub_M |
| Debian | bookworm | librabbitmq | Advisory build | 0.11.0-1+deb12u3 | DLA-4763-1 |
| Ubuntu | bionic | amqp-tools | Advisory build | 0.8.0-1ubuntu0.18.04.2+esm1 | USN-8724-1 |
| Debian | bullseye | librabbitmq | Advisory build | 0.10.0-1+deb11u3 | DLA-4763-1 |
| Debian | trixie | librabbitmq | Advisory build | 0.15.0-1+deb13u2 | DSA-6447-1 |
| Ubuntu | bionic | librabbitmq | Advisory build | 0.8.0-1ubuntu0.18.04.2+esm1 | USN-8724-1 |
| Ubuntu | bionic | librabbitmq4 | Advisory build | 0.8.0-1ubuntu0.18.04.2+esm1 | USN-8724-1 |
| Ubuntu | focal | amqp-tools | Advisory build | 0.10.0-1ubuntu0.20.04.1~esm1 | USN-8724-1 |
Show 17 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | librabbitmq | Advisory build | 0.10.0-1ubuntu0.20.04.1~esm1 | USN-8724-1 |
| Ubuntu | focal | librabbitmq4 | Advisory build | 0.10.0-1ubuntu0.20.04.1~esm1 | USN-8724-1 |
| Ubuntu | jammy | amqp-tools | Advisory build | 0.10.0-1ubuntu2.2 | USN-8724-1 |
| Ubuntu | jammy | librabbitmq | Advisory build | 0.10.0-1ubuntu2.2 | USN-8724-1 |
| Ubuntu | jammy | librabbitmq4 | Advisory build | 0.10.0-1ubuntu2.2 | USN-8724-1 |
| Ubuntu | noble | amqp-tools | Advisory build | 0.11.0-1ubuntu0.2 | USN-8724-1 |
| Ubuntu | noble | librabbitmq | Advisory build | 0.11.0-1ubuntu0.2 | USN-8724-1 |
| Ubuntu | noble | librabbitmq4 | Advisory build | 0.11.0-1ubuntu0.2 | USN-8724-1 |
| Ubuntu | resolute | amqp-tools | Advisory build | 0.15.0-1ubuntu0.26.04.2 | USN-8724-1 |
| Ubuntu | resolute | librabbitmq | Advisory build | 0.15.0-1ubuntu0.26.04.2 | USN-8724-1 |
| Ubuntu | resolute | librabbitmq4 | Advisory build | 0.15.0-1ubuntu0.26.04.2 | USN-8724-1 |
| Ubuntu | trusty | amqp-tools | Advisory build | 0.4.1-1ubuntu0.1~esm2 | USN-8724-1 |
| Ubuntu | trusty | librabbitmq | Advisory build | 0.4.1-1ubuntu0.1~esm2 | USN-8724-1 |
| Ubuntu | trusty | librabbitmq1 | Advisory build | 0.4.1-1ubuntu0.1~esm2 | USN-8724-1 |
| Ubuntu | xenial | amqp-tools | Advisory build | 0.7.1-1ubuntu0.2+esm1 | USN-8724-1 |
| Ubuntu | xenial | librabbitmq | Advisory build | 0.7.1-1ubuntu0.2+esm1 | USN-8724-1 |
| Ubuntu | xenial | librabbitmq4 | Advisory build | 0.7.1-1ubuntu0.2+esm1 | USN-8724-1 |
Description
rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to version 0.17.0, the bounds check (*offset = o + len) <= encoded.len overflows when o + len > SIZE_MAX on 32-bit systems. len is a uint32_t read from the AMQP wire as a BYTES/UTF8 field length. The overflow wraps the check to a small value that passes, producing a decoded amqp_bytes_t with a multi-GB .len pointing into a small frame buffer. This results in an out-of-bounds read of up to ~4GB of process memory on 32-bit systems (ARM, MIPS, x86 ILP32, embedded IoT AMQP clients). Enabling information disclosure or denial of service. Not exploitable on 64-bit systems where size_t is 64-bit. This issue has been patched in version 0.17.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.4 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| alanxz | rabbitmq-c | < 0.17.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-125 CWE-125: Out-of-bounds Read
References
3Provider assertions
2GitHub_M · cna
rabbitmq-c: amqp_decode_bytes size_t integer overflow bypasses bounds check on 32-bit (OOB read)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2856e75bfeb7d1e74ff25fc47eca0b1764306f5c0d09053411d6130ea9c79b04
- Ingested
- 10 Nov 2026, 16:51:12 UTC
- Source record
- Official CVE record