{"id":"UBUNTU-CVE-2026-59986","details":"rabbitmq-c is a C-language AMQP client library for RabbitMQ. Prior to version 0.17.0, the bounds check (*offset = o + len) \u003c= encoded.len overflows when o + len \u003e 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.","modified":"2026-11-18T14:18:40.148606953Z","published":"2026-07-29T00:00:00Z","related":["USN-8724-1"],"upstream":["CVE-2026-59986"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-59986"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-59986"},{"type":"REPORT","url":"https://github.com/alanxz/rabbitmq-c/security/advisories/GHSA-jgjf-7fwf-f3c7"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8724-1"}],"affected":[{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1ubuntu0.1~esm2"}]}],"versions":["0.3.0-1","0.4.1-1","0.4.1-1ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"0.4.1-1ubuntu0.1~esm2","binary_name":"amqp-tools"},{"binary_name":"librabbitmq1","binary_version":"0.4.1-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59986.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.1-1ubuntu0.2+esm1"}]}],"versions":["0.5.2-2","0.7.1-1","0.7.1-1ubuntu0.1","0.7.1-1ubuntu0.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_name":"amqp-tools","binary_version":"0.7.1-1ubuntu0.2+esm1"},{"binary_name":"librabbitmq4","binary_version":"0.7.1-1ubuntu0.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59986.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.0-1ubuntu0.18.04.2+esm1"}]}],"versions":["0.8.0-1","0.8.0-1build1","0.8.0-1ubuntu0.18.04.1","0.8.0-1ubuntu0.18.04.2"],"ecosystem_specific":{"binaries":[{"binary_name":"amqp-tools","binary_version":"0.8.0-1ubuntu0.18.04.2+esm1"},{"binary_version":"0.8.0-1ubuntu0.18.04.2+esm1","binary_name":"librabbitmq4"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59986.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-1ubuntu0.20.04.1~esm1"}]}],"versions":["0.9.0-0.2","0.9.0-0.2ubuntu1","0.10.0-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"0.10.0-1ubuntu0.20.04.1~esm1","binary_name":"amqp-tools"},{"binary_name":"librabbitmq4","binary_version":"0.10.0-1ubuntu0.20.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59986.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.0-1ubuntu2.2"}]}],"versions":["0.10.0-1","0.10.0-1build1","0.10.0-1ubuntu1","0.10.0-1ubuntu2","0.10.0-1ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_name":"amqp-tools","binary_version":"0.10.0-1ubuntu2.2"},{"binary_name":"librabbitmq4","binary_version":"0.10.0-1ubuntu2.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59986.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.0-1ubuntu0.2"}]}],"versions":["0.11.0-1","0.11.0-1build1","0.11.0-1build2","0.11.0-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"amqp-tools","binary_version":"0.11.0-1ubuntu0.2"},{"binary_name":"librabbitmq4","binary_version":"0.11.0-1ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59986.json"}},{"package":{"name":"librabbitmq","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/librabbitmq?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.15.0-1ubuntu0.26.04.2"}]}],"versions":["0.15.0-1build1","0.15.0-1build2","0.15.0-1ubuntu0.26.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.15.0-1ubuntu0.26.04.2","binary_name":"amqp-tools"},{"binary_name":"librabbitmq4","binary_version":"0.15.0-1ubuntu0.26.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-59986.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}