CVE-2026-59986

NameCVE-2026-59986
Descriptionrabbitmq-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4763-1, DSA-6447-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
librabbitmq (PTS)bookworm0.11.0-1+deb12u2vulnerable
bookworm (security)0.11.0-1+deb12u3fixed
trixie, trixie (security)0.15.0-1+deb13u2fixed
forky, sid0.18.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
librabbitmqsourcebullseye0.10.0-1+deb11u3DLA-4763-1
librabbitmqsourcebookworm0.11.0-1+deb12u3DLA-4763-1
librabbitmqsourcetrixie0.15.0-1+deb13u2DSA-6447-1
librabbitmqsource(unstable)0.17.0-1

Notes

https://github.com/alanxz/rabbitmq-c/security/advisories/GHSA-jgjf-7fwf-f3c7
Fixed by: https://github.com/alanxz/rabbitmq-c/commit/1bb1b9b1b7bc69eede6295e95fa9527c731f0798 (v0.17.0)

Search for package or bug name: Reporting problems